apt list --installed
dpkg -l | grep package-name
#check if a given package is installed apt list --installed | grep <package/keyword>
$ apt list --installed