Linux commands for viewing softwar
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!