Backup all the dependency packages to a specified folder

Asked by Srijan Roy on 2017-03-02

Is it possible to backup all the dependency packages downloaded by Gdebi during installation of a software to a specified folder. Also when installing any software please allow user to specify local repository for the packages ? It will be very helpful to install the same software to different machine which doesn't have Internet connection

Question information

English Edit question
Ubuntu gdebi Edit question
No assignee Edit question
Last query:
Last reply:
Srijan Roy (srijanroy) said : #1

By " local repository " I mean folders in the PC. Gdebi will search in the folder first , if not found then will do the usual way.

Manfred Hampl (m-hampl) said : #2

The Ubuntu package management programs (ubuntu-software, update-manager, apt-get, ...) store copies of the .deb packages in the directory /var/cache/apt/archives

You can copy the files from one machine to another (if Ubuntu release and architecture are the same) to avoid the need to download them again. (Remark: access restrictions apply to that directory, you may have to use sudo to gain the required authorizations for copying files there).

Can you help with this problem?

Provide an answer of your own, or ask Srijan Roy for more information if necessary.

To post a message you must log in.