Thursday, March 26, 2015

Show installed packages and other queries on Ubuntu / Debian

http://askubuntu.com/questions/17823/how-to-list-all-installed-packages



To get a list of packages installed locally do this in your terminal:
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

if you wish to install apt or aptitude the following will work.  This is a package other than what contains apt-get

apt list installed

No comments:

Post a Comment