Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a library of virtual machines on which I am running product testing, and I am encountering an issue with xterm not being found.

Originally I thought xterm was a basic terminal installed across all Linux distros. I need to get xterm on these systems in the simplest way possible, as the procedure might end up in a user manual.

Is there a command I can enter into the terminal to get this done?

share|improve this question

migrated from Nov 12 '11 at 13:08

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted
$ yum provides "*bin/xterm"
Loaded plugins: auto-update-debuginfo, fastestmirror, presto, refresh-packagekit
xterm-253-1.el6.x86_64 : Terminal emulator for the X Window System
Repo        : base
Matched from:
Filename    : /usr/bin/xterm

So do yum install xterm

share|improve this answer
THANKS! worked like a charm in centOS but when working with Red Hat Enterprise 6 I got the following : 'loaded plugins: refresh-package-kit, rhnplugin' 'This system is not registered with RHN.' 'RHN support disabled.' 'setting up install process' 'No package xterm available' 'Error : Nothing to do' I didn't see an RHM plugin loaded into Red Hat any ideas? – Wylie Coyote SG. Nov 11 '11 at 16:22
If you have Red Hat Enterprise Linux 6 installed, you should have a license to access RHN with it. If you don't have a license to access RHN, you will find it relatively difficult to access Red Hat's RPMs. – Bill Lynch Nov 11 '11 at 16:37
I was afraid of that; perhaps there is an online installer I could download; I will continue the search! Thanks! Your way helpful! – Wylie Coyote SG. Nov 11 '11 at 16:39

Mount the install RHEL DVD:

mkdir -p /mnt/RHEL
mount /dev/cdrom /mnt/RHEL

Or if you just have the ISO, you can use that instead:

mkdir -p /mnt/RHEL
mount -o loop /path/to/RHEL.iso /mnt/RHEL

Now make a Yum repository which uses the DVD as a repository.

Create a file [/etc/yum.repos.d/rhel-dvd.repo] with contents:

name=Red Hat Enterprise Linux $releasever - $basearch - DVD

You should now be able to clean the yum cache, and install the 32-bit C library:

yum clean all

yum install xterm

Hope it helps!!!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.