Dependencies
Applications in Linux depend on multiple modules to run. These libraries and executables are called dependencies. In Windows, they are .dll
libraries (dynamic link libraries) and .exe
files. In Linux, the .so
(shared object) file format is used for dynamic libraries, and the executables are controlled via file permissions, so they don’t have a dedicated extension. Read more about permissions in Chapters 7, 9, and 13.
As a metaphor, imagine an application as a car. For the car to run, it needs the required dependencies of roads, charging stations, tires, and maintenance, while optional dependencies could be a carwash, a park assistance feature, expensive tires, a garage, and so on. On Windows and macOS, such dependencies are installed during the initial installation/setup procedures. It is the same for Linux, but your package manager explicitly informs you when such are required and will be installed. This is because Linux is based on the fundamental values of...