ianw1974 Posted January 16, 2006 Report Share Posted January 16, 2006 Using Red Hat Enterprise Linux, but find I'm always having to use the GUI to install additional apps. What's the command line equivalent? Fedora has yum, and thought it would be the same, but it appears not. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 16, 2006 Report Share Posted January 16, 2006 rpm -i I know... poor relative of yum, but since it's RHEL and you payed money for it you can always ask for RH support! :P Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 16, 2006 Author Report Share Posted January 16, 2006 I think I was trying rpm -i before, but it wouldn't find the package. For example, I was trying to install gftp, and I did rpm -i gftp, but said couldn't find the rpm or something along those lines I think..... I'll have to try it again shortly with something else to install, and then post an update. Quote Link to comment Share on other sites More sharing options...
bvc Posted January 16, 2006 Report Share Posted January 16, 2006 that's because rpm has to be given a /path/to/gftp.rpm rpm -ivh /path/to/gftp.rpm Quote Link to comment Share on other sites More sharing options...
jlc Posted January 16, 2006 Report Share Posted January 16, 2006 Are you using a paid for RHEL box? You can answer that honestly too, you can d/l rhel for free so no worries. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 16, 2006 Author Report Share Posted January 16, 2006 Currently using as a 30 day subscription of RHEL ES. Unfortunately no support from Red Hat on eval :P But when we purchase, then of course, support is offered. Reason I'm using now is in preparation for my RHCE. There's no other alternative than RPM? That works like urpmi, or yum, or emerge, or..... Quote Link to comment Share on other sites More sharing options...
jlc Posted January 16, 2006 Report Share Posted January 16, 2006 There is yum, like a suggested in another topic, I would move it to CentOS 4.x which is a 1:1 rebuild of rhel4. You can even upgrade over the top of what you have so no re-install is required. Quote Link to comment Share on other sites More sharing options...
jlc Posted January 16, 2006 Report Share Posted January 16, 2006 http://mirrors.kernel.org/centos/4.2/os/i386/CentOS/RPMS/ centos-release-4-2.1.i386.rpm centos-yumconf-4-4.3.noarch.rpm python-elementtree-1.2.6-4.i386.rpm python-sqlite-1.1.6-1.i386.rpm python-urlgrabber-2.9.6-2.noarch.rpm sqlite-3.2.2-1.i386.rpm yum2.4.0-1.centos4.noarch.rpm RPM-GPG-KEY-CentOS-4 or there updated onese by now. cp /etc/redhat-release ~ rpm -e --nodeps redhat-release rpm --import RPM-GPG-KEY-CentOS-4 rpm -Uvh *.rpm yum update Now you have a RHEL 4.x clone with yum Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 16, 2006 Author Report Share Posted January 16, 2006 So I would just download the rpm's you listed above, and then follow the little script below to upgrade to CentOS? I did try issuing the yum command at CLI, but not sure if it exists, or not installed by default or something. Or unless, it's only part of the other distros like CentOS/Fedora, etc. Will have a go when I'm in the office tomorrow :P Quote Link to comment Share on other sites More sharing options...
jlc Posted January 16, 2006 Report Share Posted January 16, 2006 Yep, just follow that and you'll have yum. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.