Which command will allow you to find a specific installed package?

Which command will allow you to find a specific installed package?

Which command will allow you to find a specific installed package?

A.
rpm –list rpmname

B.
rpm -qvl rpmname

C.
rpm rpmname

D.
rpm -qv rpmname

E.
rpm -f rpmname

Explanation/Reference:
To query the package whether, package is installed or not:

rpm -qv <packagename>

example:

rpm -qv ncurses

It shows rpm fullname, version if installed otherwise it will display package is not installed.

Installed package options:
rpm -qa – lists all installed packages
rpm -qf  <filename> – shows owning package for specific file
rpm -qi <packagename> – general information of package
rpm -ql <packagename> – shows all files owned by package
rpm -qvl <packagename> – would also show if a package is installed with the additional information what files where installed on the harddrive.



Leave a Reply 0

Your email address will not be published. Required fields are marked *