Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there any way to install gui on ubuntu server 12.04 in offline using any packages. Is there any deb package available for install gui.

share|improve this question

2 Answers 2

No, if you want a GUI, then you should use the desktop install medium. There's no difference between Ubuntu Server and Ubuntu Desktop except the default packages. That is, you can install all services on Ubuntu Desktop as well.

share|improve this answer

You could download a Ubuntu 12.04 DVD image1 and assign that as one of the package sources. Based on this answer to another question (edited quote):

mkdir /media/mountpoint  
mount -t iso9660 -o loop /pathtoiso.iso /media/mountpoint  

then add a line

deb file:///media/mountpoint distro main restricted universe multiverse

to a new file in the sources lists, e.g.: /etc/sources.list.d/myubuntu1204dvd.list

The last part in one command that is

echo "deb file:///media/mountpoint distro main restricted universe multiverse" | \
     sudo tee /etc/sources.list.d/myubuntu1204dvd.list

Then run

sudo apt-get update

and install the regular GUI:

sudo apt-get install ubuntu-desktop^

(The caret is not a typo, it is used for APT tasks.)

And it's always a good idea to check for the latest point release of an LTS version. At the time of writing 12.04.2 is available as ISO CDROM and DVD images. You could use the CDROM, but the DVD contains a lot more packages.

1 Yes, DVD, not CDROM. Those images are not mirrored to all mirrors, so be careful in that. The main mirror lists them: http://cdimage.ubuntu.com/releases/12.04/release/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.