Lets image that you have a machine running Debian or similar that for some reason does not or
should not have access to the Internet.
And now you want to apt-get
some new software.
Then with the help of apt-offline, and a Debian based computer with
Internet access this can be done quite easily.
First you'll need to get apt-offline on to the offline computer. It is
probably easiest to download the .tar.gz
file here and do a python
setup.py build
and then a python setup.py install
. Then it should be
ready to use on the offline computer.
I wanted to install python's matplotlib when I encountered this problem, so I'll just use it as an example:
apt-offline set /tmp/apt-offline-matplotlib.sig
--install-packages python-matplotlib
apt-offline get /tmp/apt-offline-matplotlib.sig
--bundle /tmp/apt-offline-matplotlib.zip --threads 5
apt-offline install
/tmp/apt-offline-matplotlib.zip
apt-get install python-matplotlib
This walktrough was based on this tutorial: http://www.debian-administration.org/article/Offline_Package_Management_for_APT
comments powered by Disqus