Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have very low internet speed in my home. I need to install GUI for Ubuntu server edition without the use of the internet. I have an Ubuntu desktop CD. How do I do this?

share|improve this question
Try this – atenz Jul 5 '12 at 14:25

You can follow these steps (but, accordingly to psusi's comment, this only will work with the DVD or Alternate CD versions of Desktop Edition)

[1] First step: add your CD / DVD to the sources list.

  • Option A: Edit the Source.list and comment all the repositories excepting the CD with:

    sudo nano /etc/apt/sources.list

  • Option B: Use Apt-cdrom

    1. test: sudo apt-cdrom --no-act add
    2. if everything is OK: sudo apt-cdrom add
    3. sudo apt-cdrom ident
    4. sudo apt-cdrom -d "your-cdrom-mount-point" -r

[2] Second step: update with: sudo apt-get update

[3] Third step: install desktop environment

  • Option A (recommended): install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel:

    sudo apt-get install --no-install-recommends ubuntu-desktop

  • Option B: install a graphical desktop manager with ALL desktop addons like Evolution and OpenOffice:

    sudo apt-get install ubuntu-desktop

[4] Fourth and final step: restore your source list to the previous state

Uncomment everything you had 'commented' before (if you want, comment CD again) with:

sudo nano /etc/apt/sources.list

share|improve this answer
This won't work with the desktop cd; you need the dvd or the alternate cd. – psusi Jul 5 '12 at 13:54
Good to know. I will update the answer – Paulo Coghi Jul 5 '12 at 13:59
Someone can explain the reasons for the down votes? – Paulo Coghi Jul 5 '12 at 14:14

Your Answer


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.