Installing GNOME GUI on CentOS 6.5

In my earlier post, I showed us how to Install CentOS 6.4 on VirtualBox using the minimal version which runs on CLI. Now I would show us how to install a GUI desktop environment on CentOS. For the purpose of this post, I will install GNOME Desktop and install some optional packages

Step 1: Install desktop packages

– Log into CentOS using root account. Run the following command:

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

– Wait until install is over


Step 2: Enable boot up to GUI mode

– Open the file “inittab” with following command:

# vi /etc/inittab

– Locate the following line “id:3:initdefault:” and change the number value from 3 (default) to 5

– Save changes and reboot machine with following command

# init 6

– On Welcome screen, click Forward

– Accept License Agreement and click Forward

– Enter username for non-administrative account


– Set current Date and Time and click Finish


– Now login with the newly created account


– There you are, a nice looking desktop to mess about with 🙂


Note: You can switch from GUI to CLI mode manually by using following method:

GUI to CLI: Ctrl + Alt + F6
CLI to GUI: Ctrl + Alt + F1

Step 3: Install optional packages: You can install additional packages either via the desktop GUI or via the CLI

– To install from desktop GUI, click on System > Administration > Add/Remove Software. Enter package name to install in search field and click Find. Check the package name desired and click Apply to install

– To install using the CLI, simply run the following command

<pre># yum -y groupinstall "FTP server"</pre>

  <em><span style="color: #000080;">Any questions, please feel free to ask 🙂</span></em>
comments powered by Disqus