Package Management (Debian/Ubuntu): `apt`, `dpkg`
Learn to manage software packages on Debian-based systems using `apt` and `dpkg`.
Intro to Package Management
Welcome to package management! On Linux, software comes in packages. These are archives containing program files, documentation, and metadata.
A package manager is a tool that automates the installation, upgrade, configuration, and removal of software. It handles dependencies, ensuring all necessary components are installed.
`dpkg`: The Core Tool
On Debian-based systems (like Ubuntu), the fundamental tool for managing packages is dpkg. It's a low-level tool that directly interacts with .deb files (Debian package files).
dpkginstalls, removes, and manages individual.debpackages.- It does NOT automatically handle dependencies. If a package needs others, you must install them yourself.
All lessons in this course
- Archiving and Compression: `tar`, `gzip`, `bzip2`
- Package Management (Debian/Ubuntu): `apt`, `dpkg`
- Package Management (CentOS/Fedora): `yum`, `dnf`, `rpm`
- Building from Source: configure, make, and make install