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.

I am using Ubuntu 11.04 Server.
I installed a Desktop environment to Ubuntu server for Graphical usage.
I installed ubuntu desktop:

sudo apt-get install ubuntu-desktop

But it only works when I have an internet connection. Is it possible to have desktop environment without an internet connection?

share|improve this question
add comment

1 Answer 1

Yes,It is possible. Here I explain the way I usually do, since I have same situation.

Limit is that you must have same architecture of systems.

First Clean Cache using following command in terminal.

   sudo apt-get clean

Dwonload packages for Install Ubuntu desktop using this command

sudo apt-get install -d ubuntu-desktop

This command will download packages only.

Now go to places. Open Filesystem > var > Cache > apt> achieve

You will get all downloaded packages here. Copy all to folder.

Copy that folder to Usb drive.

Now Insert usb that server you want to install ubuntu desktop. Type following commands.

cd /media/<your USB drive>/<folder>
sudo dpkg -i <all .deb packages>.

This will install .deb packages in System. You can install any .deb packages in this way.

share|improve this answer
    
isnt it easier to just place it in the home folder, for mountable devices get renamed every time? Still nice answer though –  Dr_Bunsen Nov 2 '12 at 11:09
    
You can also put in share folder if you are connected with network. I suggested to use pendrive if both servers are in not connected with network. And USB automatically mounts or if not mount you can check by ls. –  K.K Patel Nov 2 '12 at 11:21
    
This is very simple technique. –  K.K Patel Nov 2 '12 at 11:21
    
i couldn't find any folder called "apt" inside "var" –  Poorni Ma Nov 2 '12 at 11:51
    
Sorry, Edited answer. –  K.K Patel Nov 2 '12 at 11:55
show 8 more comments

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.