RedHat 7.3 and 8.0 do not have tools like Mandrakes urpmi for installing/updating rpms.
these were the steps:
1- download
https://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 https://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 gccCopyright March 2003 Rob Fantini All rights reserved
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)
Got something to add? Send me email.
More Articles by Rob Fantini © 2011-11-08 Rob Fantini
Any sufficiently advanced technology is indistinguishable from magic. (Arthur C Clarke)
Mon Nov 7 21:57:38 2011: 10141 anonymous
Fix your link. (link)
Tue Nov 8 12:43:59 2011: 10145 TonyLawrence
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.
------------------------
Printer Friendly Version
Apt-get for RedHat Linux Copyright © March 2003 Rob Fantini
Have you tried Searching this site?
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.
Contact us
Printer Friendly Version