Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux commands for viewing softwar

Shulou Source: shulou.com Published: 2022-06-03 06:19:43 09月30日 Update

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!

Tags: Software commands methods content names more software use value usage skills are in friends industries materials information information channels channels references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker MariaDB OPPO Reno Huawei Redmi