Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does CentOS check whether a software package is installed?

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces CentOS how to check whether a software package has been installed, the article is very detailed, has a certain reference value, interested friends must read it!

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. If installed with deb package, you can see it with dpkg-l. If you are looking for the specified package, use dpkg-l | grep "the name of the software or package"

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

4. If the source code package is compiled and installed by itself, such as .tar.gz or tar.bz2, it only depends on whether the executable file exists.

The above is all the contents of the article "how to check whether a software package is installed by CentOS". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report