8.7. Operating System Updates

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

  • Before Upgrading LOCKSS.

  • Before Installing LOCKSS for the first time.

  • When security-related updates are released for the Linux kernel (which requires rebooting the machine) or other installed software packages.

Your system may be set up for automatic updates or your system administrator may have policies regarding 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:

To manually update software packages with Dnf, run this command (as root):

dnf --refresh upgrade

To manually update software packages with Pacman, run this command (as root):

pacman --sync --refresh --sysupgrade

To manually update software packages with Dnf, run this command (as root):

dnf --refresh upgrade

To manually update software packages with Apt, follow these steps (as root):

  1. Run this apt command:

    apt update
    
  2. Run this apt command:

    apt upgrade
    

To manually update software packages with Dnf, run this command (as root):

dnf --refresh upgrade

To manually update software packages with Apt, follow these steps (as root):

  1. Run this apt command:

    apt update
    
  2. Run this apt command:

    apt upgrade
    

To manually update software packages with Zypper, follow these steps (as root):

  1. Run this zypper command:

    zypper refresh
    
  2. Run this zypper command:

    zypper update
    

To manually update software packages with Zypper, follow these steps (as root):

  1. Run this zypper command:

    zypper refresh
    
  2. Run this zypper command:

    zypper update
    

To manually update software packages with Dnf, run this command (as root):

dnf --refresh upgrade

To manually update software packages with Dnf, run this command (as root):

dnf --refresh upgrade

To manually update software packages with Dnf, run this command (as root):

dnf --refresh upgrade

To manually update software packages with Zypper, follow these steps (as root):

  1. Run this zypper command:

    zypper refresh
    
  2. Run this zypper command:

    zypper update
    

To manually update software packages with Apt, follow these steps (as root):

  1. Run this apt command:

    apt update
    
  2. Run this apt command:

    apt upgrade