Install rxvt-unicode on CentOS 5

Posted by jason on Dec. 2, 2011, 6:41 a.m.
Tags: centos sysadmin utf8

Here's how to enable the EPEL repository and use it to only install the rvxt-unicode terminal.

Get the EPEL RPM package:

jason@jason:~ [322]$ wget -c

Install the .rpm:

jason@jason:~ [323]$ rpm -i epel-release-5-4.noarch.rpm

Edit the /etc/yum.repos.d/epel.repo file and make the "[epel]" section look something like this:

name=Extra Packages for Enterprise Linux 5 - $basearch
includepkgs=rxvt-unicode libAfterImage

The other sections should have "enabled=0"--unless you need them for something.

Note the "includepkgs" variable: you can enter a space-delimited list of packages that this repository will be used for so that all other packages are ignored. This feature is helpful in this case, because I want to install rxvt-unicode (and the libAfterImage dependency) from the EPEL and use the official CentOS repos for everything else.

Import the GPG key now:

jason@jason:~ [323]$ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

Now, install rxvt-unicode:

jason@jason:~ [325]$ yum install rxvt-unicode