Linux – How to get xterm on RHEL6 and CentOS6 stock installs

centosinstallationredhat-enterprise-linuxterminalxterm

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?

Best Answer

$ 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