Which command would you use to see if a package is already installed?

Which command would you use to see if a package is already installed?
Answer
dpkg-query -W. Another command you can use is dpkg-query -W package . This is similar to dpkg -l , but its output is more streamlined and readable because only the package name and installed version (if any) are printed.
 

Tìm kiếm

Back
Top