Create list of installed packages (Linux)
To create a list of installed packages in linux:
dpkg –get-selections > installed-software
If you wanted to use the list to re-install this software on a fresh linux setup:
dpkg –set-selections < installed-software dsel