<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