Apt for RHEL4
apt下载页面:
[root@netgate ~]# wget apt-0.5.15lorg3.1-4.el4.rf.i386.rpm
...
[root@netgate ~]# rpm -ivh apt-0.5.15lorg3.1-4.el4.rf.i386.rpm
Preparing... ########################################### [100%]
1:apt ########################################### [100%]
[root@netgate ~]# wget
[root@netgate ~]# rpm -Uvh rpmforge-release-0.3.4-1.el4.rf.i386.rpm
Preparing... ########################################### [100%]
package rpmforge-release-0.3.4-1.el4.rf is already installed
升级信息:
[root@netgate ~]# apt-get update
Get:1 redhat/el4/en/i386/dag repomd.xml [1128B]
Fetched 1128B in 1s (833B/s)
Get:1 redhat/el4/en/i386/dag/ primary.xml [1244kB]
Get:2 redhat/el4/en/i386/dag/ filelists.xml [1592kB]
Fetched 2836kB in 2m13s (21.2kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
系统升级:
[root@netgate ~]# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
apt convmv freetype freetype-devel mtr nmap python-elementtree
python-urlgrabber rsync syslinux xrestop yum
The following packages have been kept back
lftp
12 upgraded, 0 newly installed, 0 removed and 1 not upgraded.
Need to get 4685kB of archives.
After unpacking 2767kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
...
安装软件包:
apt-get install XXX
阅读(2719) | 评论(0) | 转发(0) |