Can I install packages from the Red Hat DVD?
Good evening
I would like to know how I can install a package from the Red Hat Enterprise DVD. Is there any similar tool to the "apt" that is use in Debian that can be use in Red Hat? I have heard about "YUM", but base on what I read on Internet I would have to write the Red Hat license kit in Red Hat Network in order to use the command and unfortunately I don't have that information right now so I guess I can't use that command. Can I install packages from the Red Hat DVD using the Graphic user interface? Meaning, there is something similar to YAST that is use for SUSE or Synaptic for Debian where I can select the package that I want from the DVD? Thanks |
The best way to do this is to copy the DVD contents into the hard drive & then create a local yum repository from that directory. Copy contents the Server directory on the DVD into the /repo/Server directory. This can be done using either cp or simply drag & drop in Nautilus.
Code:
# cp –r /media/RHEL-5-i386-DVD/Server/* /repo/Server Code:
# cd /repo/Server Code:
# cd /repo Make sure you've installed the web server during installation, then proceed with these. Code:
# cd /var/www/html Now to setup yum to point to the new web repository Code:
# cd /etc/yum.repos.d Code:
[testserver] Code:
# yum update |
It is usually just easier to use Centos. Centos is RHEL with the logos removed. It is built from RHEL source rpms (sans proprietary bits, mostly logos) and is free to download/update.
|
The GUI Add/Remove SW should have an option to edit the repos list, and by default the DVD should be in there, but probably inactive. Just tick to activate.
As above, you should keep your system up to date, so either get a RHEL subscription, or go Centos. |
the real question is WHY you want to install software off the outdated install cd ???
all ( or most) of it is outdated and once installed WILL REQUIRE updating. just pay Red Hat for the updates and access to THERE repo and install using yum . |
Maybe he needs something in a hurry... getting a RHEL acct (or switching to Centos) could take some time, especially if he's part of a large org.
|
All times are GMT -5. The time now is 10:17 PM. |