Library Linux

We all used to use the programs on any operating system to solve their problems. But functionality is another thing we rarely encountered during normal operation with the computer. These are the libraries that contain the common set of features and functions used by the programs. For example, most programs written in C use the standard C library, which contains all the basic features of interaction with the system.

Each program has its own set of libraries that must be in the system for it to work. Otherwise, programmers had to reinvent different algorithms, write a lot of code and programming would take significantly more time. In this article we have collected the main library Linux, as well as their purpose. This information will help you better adapt to the system.

What is a library?

As I said above, the libraries implement the shared functionality, which then are used by the programs. Simply put, the library is a set of functions, each of which can be used in any program. For example, if the program should print the string on the screen, it will not climb straight to the buffer, and uses the function from the standard library.

Libraries are divided into two types: dynamic and static. Static libraries on linux will connect to the building phase of the program, and dynamic – at run time, and they are common to several programs. We will research what a dynamic library in linux. They are located in the folders /lib, /lib64, /usr/lib, /usr/lib/x86_64-linux-gnu. Each library has the extension .so followed by version number. This number is incremented each time the developers make major changes. Such an approach is necessary in order to maintain compatibility for programs that use the old version. For example, the system may be two libraries and Next, we consider the core libraries and their purpose.

How to get information about libraries?

Before proceeding to the consideration of the libraries themselves, you’ll probably be wondering how to get information about them and know where they are in your system. Linux libraries can be located in different directories depending on your distribution, but to look at these directories, execute:

cat /etc/*

In each of the listed directories are static and dynamic libraries on Linux

ls-l /lib/x86_64-linux-gnu/

Information about the dependencies of each library you can look through the ldd command:

ldd /lib/x86_64-linux-gnu/

And, you can find out which package owns the library in Ubuntu:

dpkg -S /lib/x86_64-linux-gnu/

As you can see, the library belongs to the libc6 package, or rather it is included in the set of instruments si. For more detail about how to install new libraries and to solve problems with them described in the library article Ubuntu.

Main library

This library of basic programming languages that contain basic functionality for interacting with the system.

  • a library of DNS;
  • libc.a – basic static library of the C language;
  • libdl.a library is responsible for loading of other libraries during a program execution;
  • – working with the NIS;
  • – the C++standard library;
  • – the basic implements frequently used functions;
  • – library for working with binary ELF file;
  • a library with the implementation of function calls after the event;
  • a library with the basic methods and features used in the standard Linux utilities;
  • – the main library, it is collected in the form of static and has no dependencies. Loads the other libraries and executables. You can call this library as a program and pass it the address of the executable file to run.

Library of codecs

These libraries contain sets of codecs for playing different media. Some of them have a proprietary license or a closed source code:

  • free decoder ATSC A/52;
  • the library filters to ffmpeg;
  • – the library of ffmpeg codecs;
  • , a library of formats ffmpeg;
  • – the library of ffmpeg;
  • – a software codec for DV;
  • – MPEG audio decoder;
  • – stream decoder video data;
  • – the library mpg123 console player;
  • decoding of Webp format;
  • media MPEG – 4 codec.

Sound library

  • , the library playback with a simple interface;
  • – the library of interaction with the audio subsystem ALSA;
  • – the library of sound, is part of the ALSA;
  • – the library of speech synthesis;
  • a library with the basic methods PulseAudio;


  • – library for working with archives of various formats.
  • – archives LZMA.

Graphics libraries

  • – a library with functions to work with 3d graphics;
  • a library is an ASCII graphics;
  • – a set of methods GTK graphical framework 3;
  • – the basic functions work with graphics and drawing;
  • – work with the image format Gif;
  • – work with Jpeg images;
  • is a free implementation of methods for working with OpenGL;
  • – a set of methods of the library GTK + 2;
  •, other – framework set of libraries for creating graphical applications WX;
  • – the basic methods and functions of the X server;
  • one of the most popular graphics libraries;
  •,, and other libraries of the framework development graphical Qt applications.

Working with text

  • – the spelling checker library;
  • a library font rendering;
  • a library is processing Unicode characters;
  • – a library of XML parsing;
  • a library is parsing Yaml.


  • a library with the implementation of the methods of brute force for check of their reliability;
  • a library is responsible for encryption;
  • – library encryption is SSLv3;
  • , the library management security system AppArrmor;
  • a library tracking system status and event registration.

Driver library

  • the library works with the printer;
  • a library of virtual file systems;
  • a library is the interaction with the cameras via USB;
  • – used to obtain information from sensors on the motherboard;
  • a library usisks, which is responsible for automatic mounting and discovery of connected devices;
  • the library works with Webcams;
  • the library works with the PCI devices;
  • library management USB;
  • a library with a total capability of Direct Rendering Manager, rendering graphics using the graphics card;
  • – DRM driver AMDGPU;
  • – DRM-Intel for cards;
  • – free DRM for Nvidia graphics cards;


  • – the library get the IP address by host name;
  • , a library of analysis and capture of network packets;
  • – set up and manage proxies;


  • – the library emulation boot the computer and basic BIOS;
  • a library layer for running Windows applications on Linux.
  • library management KVM;


In this article we have gathered the core libraries of Linux that are most important to the operating system. Of course, it is impossible to list here all the libraries, because a lot of them. I hope this information was useful for you.

At the end of the lesson about libraries on Linux


(Visited 23 times, 1 visits today)