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

Linux commands for viewing softwar

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

What I introduce to you today is the three commands to check whether the software is installed in LInux, which has certain reference value and can be used for reference by friends who need it. The following information is how to use the command.

1. Software installed with rpm package

Use the rpm-qa | grep "Software or package name" command to view

[root@hexuweb102 ~] rpm-qa | grep ruby

2. Software installed with deb package

Use the dpkg-l | grep command "Software or package name" to view

[root@hexuweb102~] dpkg-l | grepruby

3. Software installed by yum method

You can view it using the yum list installed | grep "Software name or package name" command.

[root@hexuweb102 ~] yum list installed | grep ruby

After reading the above, have you mastered the method of checking whether the software is installed in LInux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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: 222

*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