The method to view the default installation directory of yum is as follows:
1. First, find the software package
(recommended tutorial: centos tutorial)
The command is as follows:
rpm -qa
2. Then, check the specific installation location according to the package name.
The command is as follows:
rpm -ql XXXXX
Related video tutorial recommendations: linux video tutorial
The above is the detailed content of Where is the default installation directory of yum under centos?. For more information, please follow other related articles on the PHP Chinese website!