How to add Gnome to a CentOS 6 minimal install

I have been using the minimal iso (CentOS-6.0-x86_64-minimal.iso) to install CentOS 6. I wanted to add a GUI to my vm, but I could not find easy documentation showing how to add a GUI, or Gnome in this case, to a CentOS 6 minimal install. I was not looking for the smallest X windows install, I was just trying to get the Desktop to function like it would as if I installed from the full DVD.

There are a lot of results of how to do this, but things have been renamed in CentOS 6, so that made it more difficult to figure out. Also, there are “Short Names” and I am assuming they are called “Long Names” associated with a yum groupinstall, which added to my confusion.

To add Gnome/GUI to a minimal CentOS 6 install run (short name version):

yum groupinstall basic-desktop desktop-platform x11 fonts

And the “long name” version:

yum groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"

Hope that helps someone or at least help me to remember.

61 Responses to How to add Gnome to a CentOS 6 minimal install

  1. jbmurphy April 10, 2013 at 11:31 am #

    I think the black boxes usually mean you are missing fonts. Look at you X start up logs and you should be able to find the fonts you are missing. Hope that helps.

  2. bbvb April 12, 2013 at 10:02 am #

    “couldn’t resolve host ‘mirrorlist.centos.org’
    Error: Cannot find a valid baseurl for repo: base

    nice

  3. pat April 17, 2013 at 7:27 pm #

    I couldn’t get mines to work, I don’t know why.

  4. jbmurphy April 18, 2013 at 3:48 pm #

    I believe that this is an error with your DNS settings.

  5. jbmurphy April 18, 2013 at 3:50 pm #

    I have had that problem with a lot of sites. I don’t know how to work around it yet.

  6. Jim October 16, 2013 at 9:46 pm #

    You also have more options to install

    # yum -y groupinstall “Graphical Administration Tools”
    # yum -y groupinstall “General Purpose Desktop”
    # yum -y groupinstall “Office Suite and Productivity”
    # yum -y groupinstall “Graphics Creation Tools”

    from http://namhuy.net/475/how-to-install-gui-to-centos-minimal.html

Trackbacks/Pingbacks

  1. Technical: Linux – Redhat/CentOS – Add Gnome Desktop | Daniel Adeniji's – Learning in the Open - April 11, 2013

    […] How to add Gnome to a CentOS 6 minimal install http://www.jbmurphy.com/2011/12/01/how-to-add-gnome-to-centos-6-minimal-install/ […]

  2. CentOS 6.2 setup questions - April 16, 2013

    […] should install a GUI If you are currently running a minimal install and want to add the gui How to add Gnome to a CentOS 6 minimal install | jbmurphy.com Hope this helps anymore questions happy to help Microsoft's strategy to conquer the I.T […]

  3. Setting up a linux server for Asterisk | Yi Studio - Blog - April 30, 2013

    […] reference: http://www.jbmurphy.com/2011/12/01/how-to-add-gnome-to-centos-6-minimal-install/ […]

  4. Install Desktop Environment On CentOS 6.5 Minimal - Tek Tips, AIX, Scripting and Design... - October 21, 2014

    […] http://www.jbmurphy.com/2011/12/01/how-to-add-gnome-to-centos-6-minimal-install/ […]

  5. Unix/Linux:Why don't I get a Gnome GUI when I install Red Hat? – Unix Questions - November 13, 2015

    […] can find this article for better guidance. one option is to reinstall again and choose these group of packages OR Install […]

Powered by WordPress. Designed by WooThemes