Under Linux, how can you tell if you have installed a software? Which directory the software is installed in

Source: Internet
Author: User

<1> how to tell if a software is installed under Linux?

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

Rpm-qa|grep Package

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

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

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

RPM-QL  Software Name    

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

See how it is installed. There are two ways to install the source code and package. The source code installation can see configure's log, RPM and other packages, it is necessary to check the database, such as rpm-q for query.  -Q <== Query (no version name required when querying native installed packages) )   -qi   #查询被安装的包的详细信息 (information)   -QA | grep dhcp  <== lists all installed RPM package    -QC list configuration files (etc)   -QD list Help file (man)   -ql DHCP     <== query Specifies the list of files in the RPM package   -qf/bin/ls  <== query which library contains the LS file (note that you need to install the/bin/ LS can be found)   -QP < rpm  Package name> <== based on RPM packet query (. rpm file), can be connected to other parameters (such as I check details, l check file list, etc.)   

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

Under Linux, how can you tell if you have installed a software? Which directory the software is installed in

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.