To list all packages installed through `aptitude` , you should run the following command:
cat /var/log/aptitude* | grep INSTALL]
**edit**
The follwing command will display the installed package with their dependencies:
cat /var/log/aptitude* | grep INSTALL
To exclude the `DEPENDENCIES` you can add the `]` or something like:
cat /var/log/aptitude* | grep INSTALL | egrep -v DEPENDENCIES
There is an example `emacs`:
[INSTALL, DEPENDENCIES] emacs24:amd64
[INSTALL, DEPENDENCIES] emacs24-bin-common:amd64
[INSTALL, DEPENDENCIES] emacs24-common:amd64
[INSTALL, DEPENDENCIES] libm17n-0:amd64
[INSTALL, DEPENDENCIES] libotf0:amd64
[INSTALL, DEPENDENCIES] m17n-db:amd64
[INSTALL] emacs:amd64