Tuesday, April 19, 2022

[SOLVED] How to find where binutils is installed on centOS 7?

Issue

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?


Solution

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>


Answered By - asio_guy
Answer Checked By - Dawn Plyler (WPSolving Volunteer)