Library

The word "library," in the context of computer software, has several meanings. It may refer to a collection of pre-written source code and other resources a program can reference. A library may also describe an organized database of files a program manages, like a music or photo library.

Code and Resource Libraries

Operating systems include library bundles that contain source code functions and other resources. Unix, Linux, and macOS use library folders to store scripts, fonts, and other system resources. Windows uses DLL files located in various system folders. Any program running on a computer has access to these libraries and can reference their contents during runtime instead of bundling the information in their executable files.

Code libraries are available to developers separately for inclusion in their programs. Developers may use these specialized libraries to add preexisting processes to their programs. For example, the OpenSSL C++ library contains functions for encryption, cryptography, and SSL security. A developer can include OpenSSL in a project and use the prewritten functions instead of writing them from scratch, saving significant time and effort.

Media and File Libraries

A library may also refer to a collection of files a program can organize and access. For example, an Apple Music library manages music files — organizing them into folders, and providing quick access to any file within the app. When you add new songs, Apple Music automatically adds the files (and the corresponding metadata) to the library.

Other types of media can be organized into libraries as well. Photo libraries may contain custom albums and can automatically sort photos by date, location, or even by person, using facial recognition. Smartphones automatically store photos taken in a library, and photo library apps like Apple Photos also allow you to import photos from other cameras. Video apps like Plex can create libraries of movies and TV shows, letting you easily browse your collection from the app's interface. Other media apps like podcast players and eBook readers provide similar libraries that allow you download and and import files.

Updated June 16, 2023 by Brian P.
Reviewed by Per C.

quizTest Your Knowledge

What is the directory that contains all other directories called?

A
Max directory
0%
B
Zero directory
0%
C
Root directory
0%
D
Sum directory
0%
Correct! Incorrect!     View the Root Directory definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Library on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.