There are 2 different scenarios for duplicating your installed programs:
1) You are duplicating the same version and desktop (that is: Mint 17.3 Cinnamon to Mint 17.3 Cinnamon)
2) You are duplicating the programs to a different version or desktop (that is: Mint 17.3 Cinnamon to Mint 18.1 Cinnamon)
In both scenarios, you can copy all of the .deb files in
/var/cache/apt/archives from the original OS to
/var/cache/apt/archives in the new OS. That will save you some download time.
In both scenarios, you can copy all of the hidden configuration files for your installed programs from the original OS to the new one.
For example, I copy:
.avidemux
.config/Pinta
.config/puddletag
.config/roxterm.sourceforge.net
.config/smplayer
.config/vlc
.config/clipit
.filezilla
.gimp-2.8
ETC...
I configure any PPA's that I use. (Google Chrome, multisystem and ubuntuzilla)
Run:
Code:
sudo apt-get update
Then I install all of the programs I use with one command:
Code:
sudo apt-get -y --show-progress install acetoneiso album apport-gtk asunder bluefish boot-info-script clipit converseen cthumb dconf-tools filezilla fsarchiver geany gimp gnome-brave-icon-theme gnome-color-chooser gnome-logs gnome-search-tool google-chrome-stable gparted gpick grml-rescueboot grsync gsmartcontrol gtkhash gwenrename hardinfo htop imagemagick-doc inkscape leafpad medit meld mint-meta-codecs multisystem nemo-image-converter openshot pinta pithos pmount preload puddletag roxterm seamonkey-mozilla-build shutter smartmontools smplayer smtube swapspace vlc xsane
In order to make that list you have to look through your Menu and note the programs you installed. (Noting that
not every program you installed will appear in your menu.)
Also, you can get a nice list of the installed programs with short descriptions (for reference), with the command:
Code:
dpkg -l | grep ii >> installed-programs.list
My method works for both scenarios.
However, if you are just doing scenario #1 (same version and same desktop) you can use this:
In the original OS, run the command:
Code:
dpkg --get-selections > installed-software.list
Then move that text file ( installed-software.list) to the new installation, and run the command:
Code:
sudo apt-get -y install $(cat installed-software.list | awk '{print $1}')
Don't try that with different versions or different desktops. You will be installing obsolete kernels and libraries that can completely bork your installation. With the same version and desktop, it works fine.