How To Backup App full with their depedency?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
vikar
Level 1
Level 1
Posts: 21
Joined: Sat Aug 22, 2015 1:56 am

How To Backup App full with their depedency?

Post by vikar » Mon Feb 15, 2016 3:14 am

Hi All,

in my country internet connection is very expensive. I'm just have internet connection in office & i not have internet connection in home. can some one help me how to backup installed app with their dependency? so installed app in office computer can i install offline at home.

Note :
Aptik software for app backup is not backup app dependency.

Thanks,
Best & Regrads.
Linux For Human Being. ..

GeneBenson
Level 4
Level 4
Posts: 342
Joined: Fri Sep 17, 2010 9:55 pm

Re: How To Backup App full with their depedency?

Post by GeneBenson » Mon Feb 15, 2016 3:39 am

Hi vikar,

Assuming that your computer at work and at home are at the same level (same OS, same version) you could do it this way:
When you install an app or updates they are first downloaded to /var/cache/apt/archives
So, before you install anything I would enter the following 2 commands in a terminal:

Code: Select all

sudo apt-get clean
sudo apt-get autoremove
These commands will remove everything from /var/cache/apt/archives
You can then install what you want. After that you can copy all the ".deb" files in /var/cache/apt/archives to a USB stick. At home copy the files from the USB stick to a separate folder on your HD. In that folder right click on an empty space and choose "Open terminal here". In the terminal enter the command:

Code: Select all

sudo dpkg -i *.deb
This will install everything in that folder, assuming your computer at work and at home are at the same level.

Hope this helps. :D

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: How To Backup App full with their depedency?

Post by austin.texas » Mon Feb 15, 2016 3:50 pm

GeneBenson wrote:So, before you install anything I would enter the following 2 commands in a terminal:

Code: Select all

sudo apt-get clean
sudo apt-get autoremove
These commands will remove everything from /var/cache/apt/archives
If the programs you want are already installed, do not run

Code: Select all

sudo apt-get clean

only

Code: Select all

sudo apt-get autoremove
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

Post Reply

Return to “Software & Applications”