Skip to content

Instantly share code, notes, and snippets.

@leodutra
Last active August 19, 2021 17:58
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save leodutra/75b394390ab02cc551a0 to your computer and use it in GitHub Desktop.
List details of installed software on Linux
#http://askubuntu.com/questions/17823/how-to-list-all-installed-packages
apt --installed list
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n
#dpkg --get-selections > ~/InstalledPackages.list
#or
dpkg --get-selections | grep -v deinstall
#To save that list to a text file called packages on your desktop do this in your terminal:
dpkg --get-selections | grep -v deinstall > ~/Desktop/packages
#Alternatively, simply use
dpkg -l
#aptitude has its manner
aptitude search '~i!~M'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment