Successful install apt in centOS using yum
After So Many Afforts On Google ..
I Have Found A special Trick to Install apt in CentOS...
As My Far Experience
Ubuntu is GREAT, Debian Package (apt-get) is awsome!
So If You have CentOS VPS no need To worry.......
Ubuntu is GREAT, Debian Package (apt-get) is awsome!
So If You have CentOS VPS no need To worry.......
You can just install apt in Following Methods :
Method 1:
Go to Terminal/ Login To ssh And Type Following
yum install apt
Sometimes it will not work probably when You are On VPS..
Method 2:
Install apt from the sources
# wget http://apt-rpm.org/releases/apt-0.5.15lorg3.tar.bz2
# tar -vxf apt-0.5.15lorg3.tar.bz2
# cd apt-0.5.15lorg3
# ./configure
# make
# make install
Method 3:
Install synaptic package manager
type following line
# yum install synaptic
and press enter you will get 100% following result
and install apt
--------------------------------------------------------------------------------------------------------
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 1.5 MB 00:04
################################################## 5921/5921
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for synaptic to pack into transaction set.
synaptic-0.57.2-3.el5.rf. 100% |=========================| 28 kB 00:00
---> Package synaptic.i386 0:0.57.2-3.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: libapt-pkg-libc6.5-6.so.2 for package: synaptic
--> Processing Dependency: apt >= 0.5.4 for package: synaptic
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for apt to pack into transaction set.
apt-0.5.15lorg3.2-1.el5.r 100% |=========================| 21 kB 00:00
---> Package apt.i386 0:0.5.15lorg3.2-1.el5.rf set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
synaptic i386 0.57.2-3.el5.rf rpmforge 1.6 M
Installing for dependencies:
apt i386 0.5.15lorg3.2-1.el5.rf rpmforge 2.5 M
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 4.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): synaptic-0.57.2-3. 100% |=========================| 1.6 MB 00:05
(2/2): apt-0.5.15lorg3.2- 100% |=========================| 2.5 MB 00:05
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: apt [1/2]warning: /etc/apt/rpmpriorities saved as /etc/apt/rpmpriorities.rpmorig
Installing: apt ######################### [1/2]
Installing: synaptic ######################### [2/2]
Installed: synaptic.i386 0:0.57.2-3.el5.rf
Dependency Installed: apt.i386 0:0.5.15lorg3.2-1.el5.rf
Complete!
Now apt-get works
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 1.5 MB 00:04
################################################## 5921/5921
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for synaptic to pack into transaction set.
synaptic-0.57.2-3.el5.rf. 100% |=========================| 28 kB 00:00
---> Package synaptic.i386 0:0.57.2-3.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: libapt-pkg-libc6.5-6.so.2 for package: synaptic
--> Processing Dependency: apt >= 0.5.4 for package: synaptic
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for apt to pack into transaction set.
apt-0.5.15lorg3.2-1.el5.r 100% |=========================| 21 kB 00:00
---> Package apt.i386 0:0.5.15lorg3.2-1.el5.rf set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
synaptic i386 0.57.2-3.el5.rf rpmforge 1.6 M
Installing for dependencies:
apt i386 0.5.15lorg3.2-1.el5.rf rpmforge 2.5 M
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 4.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): synaptic-0.57.2-3. 100% |=========================| 1.6 MB 00:05
(2/2): apt-0.5.15lorg3.2- 100% |=========================| 2.5 MB 00:05
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: apt [1/2]warning: /etc/apt/rpmpriorities saved as /etc/apt/rpmpriorities.rpmorig
Installing: apt ######################### [1/2]
Installing: synaptic ######################### [2/2]
Installed: synaptic.i386 0:0.57.2-3.el5.rf
Dependency Installed: apt.i386 0:0.5.15lorg3.2-1.el5.rf
Complete!
Now apt-get works
No comments:
Post a Comment