Linux Tutorial — Part 9: Package Management

Software installation in Linux is centralized, secure, and controlled through package managers.

1. What Is a Package Manager?

A package manager installs, updates, removes, and tracks software automatically.

2. Popular Package Managers

3. Updating Package List (apt)

sudo apt update

4. Upgrading Installed Packages

sudo apt upgrade

5. Installing Software

sudo apt install nginx

6. Removing Software

sudo apt remove nginx

7. Searching Packages

apt search python

8. yum / dnf Examples

sudo dnf install httpd
sudo yum remove httpd

9. Why Not Download Random Binaries?

Package managers verify integrity, dependencies, and updates automatically.

Professional Rule

Keep systems updated, but avoid blind upgrades on production servers.

In the next part, we will learn system services and background processes.

Next: Processes & Services →
Disclaimer:
Always test upgrades before applying them to critical systems.