Best Practices for installing software
Although we know that there are three ways to install software under Linux, namely, source code installation, RPM package installation and Yum installation, but from controllability and combined with their current level, the following two ways to install the program are preferred.
1, install with RPM package
In general, first download the corresponding RPM package under Windows, then copy to the Linux server via the WINSCP tool and install it via the following command.
RPM-IVH xxx.rpm
2, installing with source code
If no RPM packages are available, you can choose to install the source code at this time.
Check for installed software
- RPM package installed, can be seen with RPM-QA, if you want to find out if a package is installed, with Rpm-qa | grep "Software or package name"
- If you installed it in source code, you can use the Locate command or the Find command to search by keywords.
- Yum method installed, can be found with Yum list installed, if it is to find the specified package, with Yum list installed | grep "software name or package name"
Summarize the software installation under Linux