I used the following commands to install binutils on centOS 7:
$ sudo yum install binutils
Package binutils-2.27-28.base.el7_5.1.x86_64 already installed and latest version
Then I query where it's installed by
$ rpm -q binutils
binutils-2.27-28.base.el7_5.1.x86_64
But I still don't know where it's installed. How do I find where it installed?
Some thing like this
rpm -ql binutils-2.27-28.base.el7_5.1.x86_64
The general command to find where is the package is installed is
rpm -ql <package>
To find out the location where all the files are installed for a given packagename you can use:
rpm -ql package_name
It basically lists all the files that are installed on your system using the required package name. So it gives the complete plath for the files that the package has installed on your system.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.