Why I want to replace yum with apt command? The reason has:
- The some software is packed for Debian system and it is good utility for me.
- I am a new beginner about Linux system. It is a little difficult for me to compile the package.
- If apt command is used directly, it also will install the related dependence library or software.
- When remove software,we don't worry whether exist garbage library or software on system.
If it exist so much benefit,how to install it on CentOS?
The following procedure is testing by myself and confirm the function is normal on CentOS 5.5 platform. Let's go to do it now!
(1). To confirm O.S. platform is i386 or x86_64 for downloading the true package.
(2).Download the rpmforge-release for i386 and save on /tmp
(3).Import DAG GPG key to RPM repository
(4).Verify downloaded file integrity and safety
(5).Install rpmforge package
(6).Install apt package by yum
(7).edit the file /etc/apt/source.list.d/os.list and add the following words for CentOS
After done the above steps,you can use apt-get and install the apt repositories now.
沒有留言:
張貼留言