How to check whether a certain software is installed in Linux

王林
Release: 2020-05-14 11:46:19
Original
5526 people have browsed it

How to check whether a certain software is installed in Linux

Linux has many ways to install software. There are several ways to check whether a certain software is installed:

1. Software installed in rpm package

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

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

2. Software installed with deb package

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

[root@hexuweb102~]dpkg-l|grepruby
Copy after login

3. Software installed by yum method

You can use yum list installed | grep "Software name or package name" command to view

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

Recommended tutorial:linux tutorial

The above is the detailed content of How to check whether a certain software is installed in Linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!