LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   920131 - how to install packages offline? (https://www.linuxquestions.org/questions/linux-newbie-8/920131-how-to-install-packages-offline-4175458888/)

hamidi2 04-20-2013 08:38 AM

920131 - how to install packages offline?
 
hi
consider an ubuntu 12.04 server which is not connected to the internet is going to be setup. consider all required packages are copied into a directory in the server, but none is installed yet.
i need to use apt-get install to install required components and i need ubuntu to refer to the directory for the required packages instead of going online to download them. this is required because the server is offline.
how is it possible?

spiky0011 04-20-2013 09:51 AM

Hi

See if this helps

http://ubuntuforums.org/showthread.p...73#post5411673

hamidi2 04-20-2013 10:04 AM

thanx for reply
i tried it, but it didn't work. although the required packages are existing in the cache directory, ubuntu persists to download them! :(

spiky0011 04-20-2013 10:12 AM

Hi

Are they special packages requireing dependencies? there is an option in the update manager to install from cd.
Or install from source

spiky0011 04-20-2013 10:26 AM

Hi

Try here
http://linuxwave.blogspot.co.uk/2009...ry-to-apt.html

Might be abit old
http://ubuntuforums.org/showthread.p...98#post7606998

hamidi2 04-20-2013 10:27 AM

what's the option, please?


All times are GMT -5. The time now is 05:09 PM.