Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to check whether a software package has been installed under Linux

Shulou Source: shulou.com Published: 2022-06-01 03:42:41 10月04日 Update

This article shows you how to check whether a software package has been installed under Linux, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

1. If the rpm package is installed, you can see it with rpm-qa. If you want to find out whether a software package is installed, use rpm-qa | grep "the name of the software or package".

2. Install with deb package, which can be seen with dpkg-l. If you are looking for the specified package, use dpkg-l | grep "the name of the software or package"

3. If installed by yum method, you can use yum list installed to find it. If you are looking for a specified package, use yum list installed | grep "software name or package name".

The above is how to check whether a software package has been installed under Linux. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Software software packages inspection content names skills knowledge concise concise that is articles methods more articles industries information channels channels bright reserve Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Redmi Shulou Technology Huawei OPPO Reno