What’s Library File on Linux?
July 26, 2010
Posted by on
Well on this occasion I’ll explain a bit about the library files in Linux. Indirectly, if you install the program through the repository (apt-get install <package-name>), you have to install one library file needed by the program. Library file name is usually synonymous with the word “lib”. When you find the file prefix the word “lib“, meaning it is one of the many Libraries that has been developed by many programmers, for example: libsdound2-plugins_1.0.22-oubuntu6_i386.deb and many more of course. You may find some files Library, var>> cache>> apt>> archives.
File Library / Library Program is a code that only contains the code that dikompail (data), and then inserted into the program. File Library This makes the program more modular. In addition the library file can also make the program faster to recompile, and easier to update. There are three types of files Library: Static Libraries, Shared Libraries and Dynamically Loaded (DL) libraries.
Static Libraries, which is installed in the program first before running. Shared Libraries, which includes start-up programs and shared between programs. Dynamically Loaded (DL) libraries, which can be used anytime during the program running. In general, the functions of the Library file is to support the performance of the Linux kernel.
Most of the developers chose to make the Library Files Shared libraries, probably due to facilitate the users to update their library file. Dynamically Loaded (DL) libraries are useful at all, but still need hard work to use it and made a lot of programs are not flexible.
I conclude the File Library is one of the important things yag not be ignored. If one file is missing whether it’s Library Static Libraries, Shared Libraries or Dinamically Loaded (DL) libraries, the Library program that lost file will not run normally.