8.4. Operating System Updates

You will want to update your Linux operating system at different times:

Your system may be set up for automatic updates or your system administrator may have policies for which packages can be udpated and when.

If you wish to update software packages manually, select your operating system below and follow the instructions as root 1:

To manually update software packages, run this dnf command as root:

dnf update

To manually update software packages, run this pacman command as root:

pacman --sync --refresh --sysupgrade

or equivalently:

pacman -Syu

To manually update software packages, run this dnf command as root:

dnf update

To manually update software packages, run this yum command as root:

yum update

To manually update software packages, run these apt commands as root:

apt update

apt upgrade

To manually update software packages, run this dnf command as root:

dnf update

To manually update software packages, run this yum command as root:

yum update

To manually update software packages, run this dnf command as root:

dnf update

To manually update software packages, run these apt commands as root:

apt update

apt upgrade

To manually update software packages, run these zypper commands as root:

zypper refresh

zypper update

To manually update software packages, run these zypper commands as root:

zypper refresh

zypper update

To manually update software packages, run this dnf command as root:

dnf update

To manually update software packages, run this yum command as root:

yum update

To manually update software packages, run this dnf command as root:

dnf update

To manually update software packages, run this yum command as root:

yum update

To manually update software packages, run this dnf command as root:

dnf update

To manually update software packages, run this yum command as root:

yum update

To manually update software packages, run these apt commands as root:

apt update

apt upgrade

Footnotes

1

See Running Commands as root.