A cheatsheet for updating Linux

Nočnica Mellifera - Feb 10 '20 - - Dev Community

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.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .