Table of Contents

Ubuntu - apt - List packages

Similar to dpkg list and can be used with flags like –installed or –upgradable.


List all packages

apt list
apt list | more
apt list | grep foo
apt list | grep php7-

List packages satisfying certain criteria

apt list nginx
apt list 'php7*'