In Debian / Ubuntu
Find if package is installed or not
dpkg -s ttf-mscorefonts-installer
Where ttf-mscorefonts-installer is the package name that I want to find out if it is installed or not.
Other useful commands are:
To print a list of packages installed on the system.
dpkg-query -l
List of packages installed on the system that start with "ttf"
dpkg-query -l 'ttf*'
In Red Hat Enterprise / Fedora Linux / Suse Linux / Cent OS
$ rpm -qa | grep ttf-mscorefonts-installer
No comments:
Post a Comment