Difference between revisions of "RedHat apt"
Line 6: | Line 6: | ||
Then I discovered that you can get Apt for Red Hat (I use RHEL4-64bit). | Then I discovered that you can get Apt for Red Hat (I use RHEL4-64bit). | ||
Not only that, but it was super easy to install. | Not only that, but it was super easy to install. | ||
+ | |||
You just have to grab one RPM from [http://dag.wieers.com/rpm/packages/apt/ Dag RPM Repository]. | You just have to grab one RPM from [http://dag.wieers.com/rpm/packages/apt/ Dag RPM Repository]. | ||
For example, on my system I did the following | For example, on my system I did the following | ||
(for some reason I had to download it first. I could not install directly from the URL): | (for some reason I had to download it first. I could not install directly from the URL): | ||
− | wget http://dag.wieers.com/rpm/packages/apt/apt-0.5.15lorg3.2-1. | + | wget http://dag.wieers.com/rpm/packages/apt/apt-0.5.15lorg3.2-1.el4.rf.x86_64.rpm |
− | rpm --install apt-0.5.15lorg3.2-1. | + | rpm --install apt-0.5.15lorg3.2-1.el4.rf.x86_64.rpm |
Now welcome to Apt! You just need to update your apt cache and start using apt: | Now welcome to Apt! You just need to update your apt cache and start using apt: | ||
Line 19: | Line 20: | ||
The default repository is RPMforge. Note that this version of Apt uses RPMs, not DEB packages, so | The default repository is RPMforge. Note that this version of Apt uses RPMs, not DEB packages, so | ||
it's totally compatible with any other RPM management tools you may have used. | it's totally compatible with any other RPM management tools you may have used. | ||
+ | |||
+ | == Errors == | ||
+ | |||
+ | If you get errors like these: | ||
+ | <pre> | ||
+ | error: Failed dependencies: | ||
+ | librpm-4.2.so()(64bit) is needed by apt-0.5.15lorg3.2-1.el3.rf.x86_64 | ||
+ | librpmdb-4.2.so()(64bit) is needed by apt-0.5.15lorg3.2-1.el3.rf.x86_64 | ||
+ | librpmio-4.2.so()(64bit) is needed by apt-0.5.15lorg3.2-1.el3.rf.x86_64 | ||
+ | </pre> | ||
+ | Then you are probably installing the wrong apt RPM. Go back to [http://dag.wieers.com/rpm/packages/apt/ Dag Apt RPMs] and | ||
+ | confirm that you are getting the RPM that matches your Red Hat platform. |
Revision as of 14:14, 8 August 2007
I've always had mixed feelings about Red Hat and RPMs.
I never cared for `up2date` because the repository is so small.
Getting YUM to work on RHEL4 was like trying to pass a kidney stone.
Then I discovered that you can get Apt for Red Hat (I use RHEL4-64bit).
Not only that, but it was super easy to install.
You just have to grab one RPM from Dag RPM Repository. For example, on my system I did the following (for some reason I had to download it first. I could not install directly from the URL):
wget http://dag.wieers.com/rpm/packages/apt/apt-0.5.15lorg3.2-1.el4.rf.x86_64.rpm rpm --install apt-0.5.15lorg3.2-1.el4.rf.x86_64.rpm
Now welcome to Apt! You just need to update your apt cache and start using apt:
apt-get update
The default repository is RPMforge. Note that this version of Apt uses RPMs, not DEB packages, so it's totally compatible with any other RPM management tools you may have used.
Errors
If you get errors like these:
error: Failed dependencies: librpm-4.2.so()(64bit) is needed by apt-0.5.15lorg3.2-1.el3.rf.x86_64 librpmdb-4.2.so()(64bit) is needed by apt-0.5.15lorg3.2-1.el3.rf.x86_64 librpmio-4.2.so()(64bit) is needed by apt-0.5.15lorg3.2-1.el3.rf.x86_64
Then you are probably installing the wrong apt RPM. Go back to Dag Apt RPMs and confirm that you are getting the RPM that matches your Red Hat platform.