Pinning and holding packages

https://help.ubuntu.com/community/PinningHowto

List packages

Ubuntu >= 14

apt list --installed