In my desktop running Ubuntu 12.04 I had installed several programs using sudo apt-get install command. Now I have installed lubuntu in a laptop in which some of those programs should be installed (e.g., gimp, xfig, latex, c++ compiler). Is it possible to identify the packages installed and copy to the laptop using pendrive and manually install the required programs? Please indicate how this can be done.