Contents
By default, libraries are located in /usr/local/lib, /usr/local/lib64, /usr/lib and /usr/lib64; system startup libraries are in /lib and /lib64. Programmers can, however, install libraries in custom locations. The library path can be defined in /etc/ld.
Where do libraries install?
1 Answer. /usr/local/lib/ should be the right folder for this. It is the normal place for keeping shared library files installed manually from source code (as defined by FHS). If you build a library by running ./configure , make , and sudo make install , it will usually install there automatically.
How do I install libraries in Linux?
Procedure
- Mount the Red Hat Enterprise Linux 6.0/6.1 distribution DVD to the system. …
- Select open a terminal window as a root.
- Execute the commands: [[email protected]]# mkdir /mnt/cdrom [[email protected]]# mount -o ro /dev/cdrom /mnt/cdrom.
- Execute the command: [[email protected]]# yum clean all.