(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







Apt-get for RedHat Linux

By Rob Fantini

Email: rob@fantinibakery.com

RedHat 7.3 and 8.0 do not have tools like Mandrakes urpmi for installing/updating rpms.


After researching on Google groups for a similiar Redhat tool . APT seemed to be the best.
I think its a tool from Debian linux.

I needed to install portmap rpm on our SME [ internet gateway/web server/ email etc] server


Hate these ads?



these were the steps:

1- download http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/apt/apt-0.5.5cnc3-fr0.rh73.2.i386.rpm

2-install rpm -ivh apt-*.rpm

3- apt-get update

4- apt-get install portmap

See apt-get man pages for more info.

see http://apt.freshrpms.net/ for other redhat versions.

There are options to apt-get that I don't use on production machines, like
apt-get dist-upgrade
or
apt-get remove

try using --dry-run to test apt-get. here is an example:



apt-get --dry-run  install gcc
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  cpp glibc-devel glibc-kernheaders
The following NEW packages will be installed:
  cpp gcc glibc-devel glibc-kernheaders
0 packages upgraded, 4 newly installed, 0 removed and 45 not upgraded.
Inst cpp (2.96-113 Valhalla:7.3 en/Red Hat Linux)
Inst glibc-kernheaders (2.4-7.16 Valhalla:7.3 en/Red Hat Linux)
Inst glibc-devel (2.2.5-43 Valhalla:7.3 en/Red Hat Linux)
Inst gcc (2.96-113 Valhalla:7.3 en/Red Hat Linux)
Conf cpp (2.96-113 Valhalla:7.3 en/Red Hat Linux)
Conf glibc-kernheaders (2.4-7.16 Valhalla:7.3 en/Red Hat Linux)
Conf glibc-devel (2.2.5-43 Valhalla:7.3 en/Red Hat Linux)
Conf gcc (2.96-113 Valhalla:7.3 en/Red Hat Linux)


Copyright March 2003 Rob Fantini All rights reserved



Comments
LinuxAptget :


Click here to add your comments


LOD Communications, Inc.

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
42189267267 119,012

/Linux/aptget.html copyright March 2003 Rob Fantini All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Administration
       - Linux
       - Unix
       - SME




Unix/Linux Consultants


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


UBB Computer Services Support for Openserver, Unixware and Linux. Windows integration with Unix/Linux servers. Hardware, Backup and Networking issues. Located near Sacramento CA, we provide onsite support throughout Northern CA and Nationwide via remote access. We are a SCO Authorized Partner and a Microlite BackupEdge Certified Reseller.



Twitter
o Another day, another devalued dollar. 5:49 AM Apr 30th 2008







My Favorites

Change Congress