Difference between revisions of "RedHat apt"

From Noah.org
Jump to navigationJump to search
Line 1: Line 1:
 
[[category:Engineering]]
 
[[category:Engineering]]
  
I've always had mixed feelings about Red Hat and RPMs. Up2Date and Yum both suck.
+
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).
 
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 [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 this (for some reason I had to download first. I could not install directly from the URL):
+
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.el3.rf.x86_64.rpm
 
   wget http://dag.wieers.com/rpm/packages/apt/apt-0.5.15lorg3.2-1.el3.rf.x86_64.rpm
Line 13: Line 17:
 
   apt-get update
 
   apt-get update
  
The default repository is RPMforge.
+
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.

Revision as of 18:33, 1 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.el3.rf.x86_64.rpm
 rpm --install apt-0.5.15lorg3.2-1.el3.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.