How To Backup/Restore Your Installed Packages And Applications on Ubuntu
https://haxordoubt.blogspot.com/2012/11/how-to-backuprestore-your-installed.html
1. Open the terminal and make a backup copy of your applications with this command:
Now move the backup.txt file to another location (USB drive, CD, external hard drive, etc.)
2. After a new installation of Ubuntu/Linux Mint, cd to the folder containing your text file (backup.txt), then restore your packages with these commands:
Then follow given prompts.
Source: http://www.upubuntu.com
sudo dpkg --get-selections > backup.txt
Now move the backup.txt file to another location (USB drive, CD, external hard drive, etc.)
2. After a new installation of Ubuntu/Linux Mint, cd to the folder containing your text file (backup.txt), then restore your packages with these commands:
sudo apt-get install aptitude
sudo dpkg --clear-selections
sudo dpkg --set-selections < backup.txt
sudo aptitude install
Then follow given prompts.
Note: You may also use Ubuntu Software Center to sync and reinstall your applications on different Ubuntu computers. Open Ubuntu Software Center and head to File > Sync Between Computers.
Source: http://www.upubuntu.com