Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

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.