Default path for installed binary?
11,504
Solution 1
I suppose
which vlc
will do the trick if the path the file was installed is on the System Path.
Solution 2
This may be of help: Unix Filesystem Hierarchy Standard
Most binaries are installed in /usr/bin, most libs in /usr/lib and most headers - in /usr/include.
Solution 3
Since you have installed vlc from a rpm package, you can use the rpm tool to query the database with information about all the installed packages:
$ rpm -ql vlc-core | grep '/vlc$'
/usr/bin/vlc
/usr/lib/vlc
/usr/share/vlc
$
although for this example, its a bit tricky since you have to know that the rpm package containing the binary it called vlc-core.
Related videos on Youtube
Author by
Jeegar Patel
Updated on September 18, 2022Comments
-
Jeegar Patel almost 2 years
By doing
yum install vlc
I have installed the
vlc
player on my system. Now I want to know where the binary ofvlc
was installed. So what is the default path for installation in Fedora Linux?