1. Make sure you have configured Network properly and you have Internet enabled.
$ sudo apt-get update
This will ensure that ‘apt’ command is working.
(will take time)
2 $ sudo apt-get install ubuntu-desktop
This will install GNOME desktop. (will take time around half to one hour depending upon your internet speed)