Manjaro is a rolling release distribution, meaning that it doesn’t go through any major releases or upgrades, and keeping the system up-to-date is as simple as updating all the packages on your system. In this tutorial, you will learn how to upgrade Manjaro by updating all of the installed packages.
Updating Manjaro via Command Line
There are two commands you can use to update to the latest version of Manjaro:
Example 1. This command will install all the latest package verions that your system needs in order to be up to date.
$ sudo pacman -Syu
-S: synchronize system packages and their dependencies with repository versions
-y: download a new copy from the master package database
-u: upgrade all installed packages
Example 2. The double
-y forces a refresh even if databases already appear to be up-to-date.
$ sudo pacman -Syyu
Example 3. If any of your newly installed packages aren’t working properly, the double
-u option will downgrade packages to their previous version.
$ sudo pacman -Syuu
Updating Manjaro via GUI
Step 1. Go to the Menu, and click on Add/Remove Software.
Step 2. In the Updates tab, you will see all the packages that need to be updated in Manjaro. Click on Apply to start downloading them.
Step 3. Finally, go through a couple of prompts to start updating to the latest version of Manjaro. If a new version of the Linux kernel was installed, then a system restart is needed in order for the update to take effect.