Determine whether a software has been installed in CentOS

Source: Internet
Author: User

Determine whether a software has been installed in CentOS

My system is centos6.5

I run the command rpm to check whether a software is installed (such as matlab and fluent). The following results are obtained:

I use rpm-qa (| grep) matlab and press enter without any display
I use rpm-qa fluent and press enter without any display
I used rpm-qa vasp and press enter without any display

But in fact it must be installed with matlab and fluent, and I use [root @ node1/] # rpm-q fluent
Package fluent is not installed
The same is true for matlab.

In addition, the command [root @ node1/] # man rpm
The returned result is No manual entry for rpm.



Why?

++ ++

Rpm-qa | grep Software Package

++ ++

Run yum search

++ ++

If you use rpm-ivh matlab,
Rpm-qa | grep matlab can certainly be found.

If you use
Make & make install. So it is better to go directly to the execution program and find out whether the program is installed.
Find/-name matlab
If it is installed, it will tell you which directory the program is released.

++ ++

Rpm-qa is to check whether the software is installed, grep and find are to view the file location

++ ++

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.