Super User is a question and answer site for computer enthusiasts and power users. 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 am using Ubuntu 12.04 LTS machine . I have another 25 Ubuntu machines to install same software packages . So , suppose I want to install gimp in 25 systems . If I will apt-get install gimp , it will utilize lots of bandwidth . Alternatively to me , downloading source code with all the dependencies and compiling them once forming a deb file .

Hence installing from deb file will make process very easy . So how to achieve this .

share|improve this question

Consider configuring apt-proxy or usual web proxy. Then deb packages will only be downloaded once. Alternatively you can download all gimp dependencies (with apt-get install --download-only gimp) and install then on all your hosts using dpkg -i. Source code is not needed here as DEB files (which are already compiled and do not contain source code) are sufficient.

share|improve this answer

Its fairly simple. Apt-get stores deb files in /var/cache/apt/archives. I'd recommend starting with a system without these installed and running apt-get clean to clear out the cache, then copying the files over. You can then install them with dpkg, assuming its a one shot thing.

If you need to do this often, there used to be a software for offline updates called keryx. Ubuntu also seems to recommend something called apt-offline or you can use aptoncd - the first bundles up and installs packages as a zip file, the latter creates a little repository on a cd.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .