Install a GUI to Redhat Enterprise Linux 7.1

Install a GUI to Redhat Enterprise Linux 7.1

If you have performend a RHEL 7 Linux Server installation and did not include a Graphical User Interface (GUI) you can do it later directly from command line using the yum command and selecting an appropriate installation group. To list all available installation groups on Redhat 7 Linux use:

 

[root@rhel7 ~]# yum group list
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Available environment groups:
   Minimal Install
   Infrastructure Server
   File and Print Server
   Basic Web Server
   Virtualization Host
   Server with GUI
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Graphical Administration Tools
   Legacy UNIX Compatibility
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management
Done


From the above list select Server with GUI installation group:

[root@rhel7 ~]# yum groupinstall 'Server with GUI'
Transaction Summary
=================
Install  261 Packages (+604 Dependent packages)

Total download size: 527 M
Installed size: 1.7 G
Is this ok [y/d/N]: 

Just because gnome desktop environment is a default GUI on RHEL 7 linux system the above command will install gnome. Alternatively, you can run the below command to only install core GNOME packages:

[root@rhel7 ~]# yum groupinstall 'X Window System' 'GNOME'

Once the installation is finished, you need to change system's runlevel to runlevel 5. Changing runlevel on RHEL 7 is done by use ofsystemctl command. The below command will change runlevel from runlevel 3 to runelevel 5 on RHEL 7:

[root@rhel7 ~]# systemctl enable graphical.target --force

Depending on your previous installations you may need to accept Redhat License after you reboot your system. Once you boot to your system you can check GNOME version using:

[root@rhel7 ~]# gnome-shell --version
GNOME Shell 3.8.4
    • Related Articles

    • How to Install SuperDoctor on Linux

      Download latest version of SuperDoctor from Supermicro's website: supermicro.com/products/nfo/SMS_SD5.cfm Unzip the archive after it has finished downloading. Locate the SuperDoctor5Installer[...].bin file and rename it to ...
    • Create Linux LiveCD from Windows using Rufus

      Download Rufus. Download a Linux ISO: Ubuntu: Direct Download: http://www.ubuntu.com/download/desktop Torrent, Net Install: http://www.ubuntu.com/download/alternative-downloads CentOS: Direct Download or Torrent: https://www.centos.org/download/ ...
    • How to Install and Use SM-Lumberjack on Linux

      Description: Lumberjack is a non-invasive, diagnostic shell script which collates command outputs along with important system files and logs, creating a single compressed tar archive as output. The following operating systems are supported: RHEL 6/7 ...
    • Installing NVIDIA drivers for Ubuntu 14.04/16.04 with multiple graphics adapters.

      Generally the NVIDIA Linux drivers work with most of their cards. Some cases with Tesla's and higher end cards may have slight differences. The cards I'm working with today are the Quadro and Geforce series.  FIRST Make sure your primary card is in ...
    • Default credentials (Linux)

      Q: I just received a system with a pre-installed Linux operating system. What is the password for logging into the system? A: This will depend on the distribution we installed, as various distributions can carry different default access policies. The ...