I wanted to save a file of all the packages I had installed on my Ubuntu server in case i wanted to swap hard drives and/or reinstall the OS. Found this, works like a charm
dpkg --get-selections > /home/name/installedpkgs.txt
I wanted to save a file of all the packages I had installed on my Ubuntu server in case i wanted to swap hard drives and/or reinstall the OS. Found this, works like a charm
dpkg --get-selections > /home/name/installedpkgs.txt