When an Application is installed using "yum install", How to find out the Directory structure into which it was installed?

Jerry Feldman gaf at blu.org
Sun Apr 24 15:20:18 UTC 2011

On 04/24/2011 11:07 AM, Sam Varshavchik wrote:
> Varuna Seneviratna writes:
>> In Windows the set-up displays the the directory into which an
>> application was installed and most of the installation instructions
>> display the Directory structure into which the Application ultimately
>> gets installed.But How to Find the Linux or Fedora 14 Directory
>> structure into which an application is installed, using "yum install
>> <packgNme>"
>> For an Ex- yum install "openJDK*"
> rpm -q -l -v <packagename>
In addition. Windows generally installs applications in C:\Program
File\<application name>
In Linux and Unix, application executables are normally installed in
/usr/bin with application libraries in /usr/lib (or /usr/lib64).
Additionally, some systems may be installed in /opt. Additionally, if
installing an application from a tarball, that application is normally
installed in /usr/local/bin and /usr/local/lib (or lib64). Normally if
you use Yum or RPM, then /usr/bin is the normal place.

Additionally, if you want to find out where an executable is, use the
whereis(1) command as an example:
[gaf at gaf ~]$ whereis firefox
firefox: /usr/bin/firefox /usr/lib64/firefox

Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110424/f60c912e/attachment.bin 

More information about the users mailing list