How to see if a software is installed under Linux??? Where is the installation path???

Source: Internet
Author: User

<1>: How do you know if you have a software installed under Linux?

My system is Red Hat.

I used the command rpm to check if a software was installed (for example: Matlab and fluent) and got the following results:

I use RPM-QA (| grep) MATLAB, no display after carriage return
I used Rpm-qa fluent, and the carriage return did not show any
I used Rpm-qa vasp, and no display after carriage return

But in fact it must have been matlab and fluent, and I use [[email protected]/]# Rpm-q fluent
It shows the package fluent is not installed
MATLAB is the same

In addition, the command [[email protected]/]# man rpm
Returned is No manual entry for rpm



What is this for?

++++++++++++++++++++++++++++++++++++++++++

Rpm-qa|grep Package

++++++++++++++++++++++++++++++++++++++++++

Try Yum search with yum command

++++++++++++++++++++++++++++++++++++++++++

If you use RPM-IVH matlab to install,
With Rpm-qa | grep matlab is sure to be able to find.

If you are using
Make && make install installed. Then it's better to go straight to the execution.
Find/-name matlab
If loaded, it will tell you which directory the execution program was released to.

++++++++++++++++++++++++++++++++++++++++++

Rpm-qa is to see if the software is installed, grep and find are viewing file locations

++++++++++++++++++++++++++++++++++++++++++

<2>.linux how to see which directory a software is installed in?

++++++++++++++++++++++++++++++++++++++++++

RPM-QL  software name    Why not give points ah,

++++++++++++++++++++++++++++++++++++++++++

How to see if a software is installed under Linux??? Where is the installation path???

Related Article

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.