Thursday, December 26, 2013

yum notes Redhat Enterprise Linux 6.2 or such.

to find out what package contains a command using yum.  must have repository set up.

yum whatprovides vnc-server

To set up repository after installation to use dvd as source:

put this in /etc/yum.repos.d/rhel-media  (any file name will do)

[rhel-media]
name=Red Hat Enterprise Linux 6.2
baseurl=file:///mnt/cdrom/Server/

file:///mnt/cdrom/
gpgcheck=0
enabled=1
gpgkey=file://etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


The gpgkey can be left out if the gpg checking is off (as shown)  noted only if you want to mess with such.  for media it isn't much use if you know where your media came from.

yum will find and install any package on the dvd.  Create another file in the repos directory for any additional media.  This example uses the 6.2 install media dvd 1 as an example.

Gui application install front end for system, also invoked by system->administration->add/remove software with gnome desktop

 gpk-application

run from a gnome command window at user level command line (not root).

No comments:

Post a Comment