A cheatsheet for updating Linux

nocnica

Nočnica Mellifera

Posted on February 10, 2020

A cheatsheet for updating Linux

cover image by Tarekheikal
Linux needs updates, badly! Here's how to keep your version of Linux updated (not sure which version of Linux you have? Good news I wrote a guide to that)

Update commands

  • On Debian-based distributions, you use apt-get update && apt-get upgrade;
  • On Redhat-based distributions, yum update;
  • On Arch-based distributions, pacman -Syu.
  • Slackware-based distributions vary in their approaches to package management:
    • On SUSE-like distributions, you use zypper up;
    • On Slackware itself, you manage packages manually with the help of the suite of package tools.
  • Gentoo uses a package management system called Portage. You run emerge --sync, do what the prompt says, then run emerge -atv.
  • Other consult your distribution's documentation.
💖 💪 🙅 🚩
nocnica
Nočnica Mellifera

Posted on February 10, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

A cheatsheet for updating Linux
beginners A cheatsheet for updating Linux

February 10, 2020