Azimout's Linux weblog

offline synaptic

leave a comment »

If you have an ubuntu machine w/o an internet connection and you want to install packages, do the following:
sudo apt-get -qq --print-uris install _name-of-package_ | cut -d\' -f 2 > urilist
This will create a list of files needed. Take it with you (usb stick…) to a machine that has internet connection, then do:
wget -i urilist
This will download all the needed files. Now take this back to the first machine and do:
sudo dpkg -i *.deb


Written by azimout

02/04/2008 at 07:04

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: