You can quickly install matching packages using this method. List the packages installed dpkg -l | awk '{print $2}' > installed-packages.txt Use the list to install on the target machine sudo apt-get install `cat installed_packages.txt`
dpkg -l | awk '{print $2}' > installed-packages.txt
sudo apt-get install `cat installed_packages.txt`