I found out how to do this recently and thought it might be helpful to some people. To output this information to a file in your home directory you would use,
Code:
dpkg --get-selections > installed-softwareAnd if you wanted to use the list to reinstall this software on a fresh ubuntu setup,
Code:dpkg --set-selections < installed-softwarefollowed by
Code:dselect