Kahibaro
Discord Login Register

1.4.2 Updating the system

Why Updating Matters

New Linux systems often ship with:

Updating:

On a fresh installation, expect a large first update, often hundreds of MB or several GB.

Types of Updates

Most desktop distributions classify updates into a few rough categories:

On beginner-friendly distributions (Ubuntu, Linux Mint, Fedora Workstation, etc.), security updates are often installed automatically, or you’ll be prompted via a graphical updater.

General Concepts (Independent of Distribution)

Regardless of which distribution you’re using:

You need:

Updating on Debian/Ubuntu-Based Systems (apt)

Applies to: Ubuntu, Linux Mint, Pop!_OS, Debian, and many others that use apt.

Graphical Method

You’ll usually find one of:

Typical flow:

  1. Open Software Updater (or similar).
  2. The tool checks for updates automatically.
  3. You see a list of updates (often grouped into security, recommended, etc.).
  4. Click Install Now (or similar).
  5. Enter your password when prompted.
  6. Wait until it finishes; reboot if prompted.

Command-Line Method (`apt`)

Open a terminal and run:

sudo apt update
sudo apt upgrade

What they do:

You might occasionally see:

For a simple desktop system, running:

sudo apt update && sudo apt upgrade

on a regular basis is usually enough.

Updating on Fedora/RHEL-Based Systems (dnf)

Applies to: Fedora, RHEL, CentOS Stream, AlmaLinux, Rocky Linux (with minor tool name differences).

Graphical Method

On Fedora Workstation and similar:

Typical flow:

  1. Open Software (or “Software Center”).
  2. Go to the Updates tab.
  3. Review updates (you may see “OS Updates” and “Application Updates”).
  4. Click Download / Install.
  5. Reboot if the system asks you to (often after kernel or OS updates).

Command-Line Method (`dnf`)

In a terminal:

sudo dnf check-update
sudo dnf upgrade

You can combine checking and upgrading with just:

sudo dnf upgrade

On some systems you may see dnf update — it’s effectively the same as dnf upgrade in most modern Fedora-family systems.

Updating on Arch-Based Systems (pacman)

Applies to: Arch Linux, Manjaro, EndeavourOS, etc.
These are typically rolling release distributions: staying updated is essential.

Graphical Method

In beginner-friendly Arch-based distros (like Manjaro), you may have:

Flow is similar:

  1. Open the graphical package manager.
  2. Check for updates (often automatic).
  3. Click Apply or Update.
  4. Enter your password.
  5. Wait; reboot if a kernel or core component was updated.

Command-Line Method (`pacman`)

In Arch and derivatives, updates are usually done with:

sudo pacman -Syu

This runs three operations at once:

On rolling releases, try not to skip updates for too long; read major news/announcements for your distro before big upgrades if possible.

Using the Graphical “Software Center” vs Terminal

You usually have both options; you can choose what you’re more comfortable with.

You don’t need to use both at the same time; pick one method per update session.

Reboots and When They’re Needed

Most Linux updates do not strictly require a reboot.

Common reboot triggers:

Many graphical updaters will:

From a practical perspective, if you’ve just done a large system update (especially after a fresh install), a reboot is a good idea even if not strictly required.

Automatic and Scheduled Updates

Many desktop distributions offer some level of automation:

Where to look:

For beginners, a good balance is:

Dealing With Common Update Situations

Interrupted Updates

If the process stops due to:

Usually, simply running the update command again fixes it:

  sudo dpkg --configure -a
  sudo apt -f install
  sudo apt update && sudo apt upgrade
  sudo dnf upgrade --refresh
  sudo pacman -Syu

For absolute beginners, if something goes wrong:

  1. Read any error messages carefully.
  2. Try to run the same update command again.
  3. If it still fails, search the exact error message or consult documentation/forums.

Updates Requiring Manual Confirmation

Occasionally:

Tips:

How Often Should You Update?

For a typical desktop:

If you haven’t used the system for a long time, expect:

Quick Distribution-Specific Cheat Sheet

Use these as your “first thing after install” commands in a terminal:

  sudo apt update && sudo apt upgrade
  sudo dnf upgrade
  sudo pacman -Syu

Run these on a fresh install before doing anything else, then periodically to keep your system safe and current.

Views: 80

Comments

Please login to add a comment.

Don't have an account? Register now!