APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds RSS Feeds











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


Apt-get for RedHat Linux

by Rob Fantini


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



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


If this page was useful to you, please help others find it:  





2 comments




More Articles by Rob Fantini



Click here to add your comments







Mon Nov 7 21:57:38 2011: 10141   anonymous

gravatar


Fix your link. http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/apt/apt-0.5.5cnc3-fr0.rh73.2.i386.rpm





Tue Nov 8 12:43:59 2011: 10145   TonyLawrence

gravatar


Unfortunately, links change. The best thing to do when that happens is to Google for the last part:

apt-0.5.5cnc3-fr0.rh73.2.i386.rpm

in this case. That will turn up places that still have this.

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



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

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Administration
       - Linux
       - Popular
       - SME
       - Unix


















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


book graphic unix and linux troubleshooting guide



Buy Kerio from a dealer
who knows tech:
I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals