whatis dependency
Dependency
Also known as: dependency hell
Another package or library that a piece of software needs in order to install or run, resolved automatically by the package manager.
What Is a Package Dependency in Linux?
Linux distributions share libraries between programs rather than bundling a copy into each one. A package declares what it depends on, and the package manager installs those too, along with their dependencies.
Conflicts arise when two programs need incompatible versions of the same library ("dependency hell"). Flatpak, Snap, AppImage, and containers sidestep this by bundling dependencies with the app.
Example
apt-cache depends curl
dnf repoquery --requires curl Learn more about Dependency
- Understanding Linux Packages and Repositories Linux software is distributed as packages, installed from signed repositories, and managed by package managers. This guide explains how the whole system works, from .deb and .rpm files through to Flatpak, Snap, and building from source.
- Static vs Dynamic Linking Explained What the dynamic linker does at program startup, why a missing .so breaks everything, the tradeoffs of static binaries, and why glibc makes portable static linking harder than it looks.