[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

apt for Red Hat 7.2 (fwd)



One of the few things that I really like about Debian is the package
management tools, specifically apt.  It's really handy to use apt to
install packages and keep up with updates.  Now, thanks to Conectiva
and various other people, Red Hat 7.2 users can have the best of both
worlds...  Here's how:

First, download and install apt (and optionally apt-devel) from
freshrpms.net.  You can just run the following:

  rpm -Uvh \
    http://enigma.freshrpms.net/pub/apt/apt-{,devel-}0.3.19cnc55-fr2.i386.rpm

Check http://enigma.freshrpms.net/rpm.html?id=531 for the latest
version first though.

Next edit /etc/apt/sources.list to add ftp.silug.org.  I can't promise
that this will work indefinitely, since I'm still trying to figure all
this out, but I'll let everyone know if I make changes.  Anyway, for
now, just add the following lines above all of the other non-comment
lines in /etc/apt/sources.list:

    rpm http://ftp.silug.org/pub/apt redhat/7.2/en/i386/redhat updates-os
    rpm http://ftp.silug.org/pub/apt redhat/7.2/en/i386/redhat os

If you want to be ultra-safe and just stick with Red Hat packages,
comment out the freshrpms.net lines at the bottom of the file.

Now run "apt-get update".  You'll need to repeat this occasionally to
update your local cache of the list of available packages.

If all goes well, you should be able to grab all of the latest updates
with "apt-get upgrade".  To install a specific package and all of its
dependencies, run "apt-get install package" where "package" is the
name of the rpm.  (For example, I just ran "apt-get install
printconf-gui" on a stripped-down box, which installed everything from
gtk+ to ghostscript to LPRng.)

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.