Backup & Restore installed package.

to backup packages
1. sudo nautilus
2. copy from /var/cache/apt/archives/* to Desktop/inst_packages

Run in terminal
sudo dpkg –get-selections > ~/Desktop/inst_packages/myPackages

To Recover packages
1. sudo nautilus
2. Paste backup packages to /var/cache/apt/archives/
3. Run in Terminal
sudo dpkg –set-selections < myPackages && sudo apt-get dselect-upgrade

Advertisements
Posted in Command, Ubuntu. ট্যাগ সমুহঃ , , , . Leave a Comment »

মন্তব্য করুন

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / পরিবর্তন )

Twitter picture

You are commenting using your Twitter account. Log Out / পরিবর্তন )

Facebook photo

You are commenting using your Facebook account. Log Out / পরিবর্তন )

Google+ photo

You are commenting using your Google+ account. Log Out / পরিবর্তন )

Connecting to %s

%d bloggers like this: