Topic: Fun With Aptitude
I really like playing around with aptitude and use it as my main package manager. Apart from installing and removing packages it also has powerful search capabilities. Here's a few examples for people who might like to explore their systems.
Show explicitly installed packages (i.e. no dependencies).
$ aptitude search '~i !~M' | cut -d" " -f4 | sort | uniqThe output can be saved to a file by adding > filename.txt
$ aptitude search '~i !~M' | cut -d" " -f4 | sort | uniq > explicitly_installed.txtShow packages installed from crunchbang's repository.
$ aptitude search ~i~Astatler -F"%p# %s# %t#" |grep statlerShow packages from non-free to see how much RMS will (not)respect you ![]()
$ aptitude search ~i~snon-free -F"%p# %s# %t#"Aptitude has an amazing array of search patterns to play with - check this link for the complete list.
http://algebraicthunk.net/~dburrows/pro 03s05.html
Have fun and add your favorites below....