Jump to content

Installing Packages in terminal session


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.....

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...