Where Does Ubuntu Look for Shared Libraries?
Contents

Shared libraries are compiled code which is intended to be shared among several different programs. They are distributed as . so files in /usr/lib/. A library exports symbols which are the compiled versions of functions, classes and variables.

Where does Linux look for shared libraries?

In Linux, /lib/ld-linux. so. x searches and loads all shared libraries used by a program. A program can call a library using its library name or filename, and a library path stores directories where libraries can be found in the filesystem.

How do I see what libraries are installed on Ubuntu?

The procedure to list what packages are installed on Ubuntu:

  1. Open the terminal application or log in to the remote server using ssh (e.g. ssh [email protected] )
  2. Run command apt list –installed to list all installed packages on Ubuntu.

30 янв. 2021 г.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest