Home > Operation and Maintenance > Linux Operation and Maintenance > How to check whether a certain software is installed in linux

How to check whether a certain software is installed in linux

王林
Release: 2019-12-27 15:33:03
Original
3413 people have browsed it

How to check whether a certain software is installed in linux

1. If the rpm package is installed, you can use rpm -qa to see it. If you want to find out whether a certain software package is installed, use rpm -qa | grep "software Or the name of the package "

rpm -qa | grep perl
Copy after login

2. If installed with deb package, you can use dpkg -l to see it. If you are looking for a specified software package, use dpkg -l | grep "the name of the software or package"

Free online video tutorial sharing:linux video tutorial

dpkg -l | grep perl
-bash: dpkg: command not found
Copy after login

3. If installed using the yum method, you can use yum list installed to search. If you are looking for a specified package, use yum list installed | grep "software name or package name"

yum list installed | grep perl
Copy after login

Recommended related articles and tutorials:linuxtutorial

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template