Update manjaro using command line

By default settings, Manjaro connects to the internet and shows a notification that updates are available to download on the status bar. You have the option to confirm and go ahead to update your system. It is the graphical user interface way.

On the other hand, if you wish to go to the Terminal and perform the update by command line, here is the guide for you. It is especially useful if you are updating a Manjaro PC by remote login.

Synchronizing and Updating the System

Updating Manjaro using command-line is done in two ways:

Syu command: System Update will update the system with the latest updates. It is enough for most of the general scenarios when the system is working well with no corrupt database.

Syyu command: Syyu command is used to help pacman locate and download the packages for installation with forced database update.

-yy flags will force the refresh of all package lists and rebuild everything. It is especially great for fixing a corrupted database. The command synchronizes your Manjaro database with the Manjaro official repositories and updates your system. It will rebuild the system repo database info completely.

Updating Manjaro XFCE from the Terminal

Step 1) Click on the Manjaro icon on the taskbar and look for “Terminal.”

Step 2) Launch “Terminal Emulator.”

Launching Terminal in Manjaro XFCE
Launching Terminal in Manjaro XFCE

Step 3) Use the pacman system update command to update the system. Pacman is the Manjaro’s default package manager used to install, upgrade, configure and remove software. Use it with sudo.

sudo pacman -Syu

OR

sudo pacman -Syyu

Step 3) Pay attention to the progress of the Terminal and enter ‘Y’ when needed. You should see it multiple numbers of times.

ALSO READ  How to find mirror list and set fastest download server on Manjaro
Terminal - Performing System Update
Terminal – Performing System Update

That’s it!

Updating Manjaro GNOME from the Terminal

Step 1) Launch ‘Terminal’.

Launching Terminal in Manjaro GNOME
Launching Terminal in Manjaro GNOME

Step 2) Use the pacman Syyu command to update the system. Pacman is the Manjaro’s default package manager used to install, upgrade, configure and remove software. Use it with sudo.

sudo pacman -Syu

OR

sudo pacman -Syyu

Step 3) Pay attention to the progress of the Terminal and enter ‘Y’ when needed. You should see it multiple numbers of times.

Update Manjaro GNOME via Terminal
Update Manjaro GNOME via Terminal

That’s it!

Previous articleHow to show date and complete time in the Ubuntu Top Panel
Next articleHow to install Adobe Acrobat Reader in Manjaro and Arch Linux
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

3
Leave a Reply

avatar
3 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
VOLVICMardani Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
dani
Guest
dani

Thank you very much.
It help me a lot.
I don’t know why octopi fails to update my Manjaro kde, but pacman has worked fine.
Thanks again!

Mar
Guest
Mar

Nice and clear instruction. To improve it further I think one should explain all the commands when telling someone to type in sudo -commands. What does the -Syyu do in this context?

VOLVIC
Guest
VOLVIC

Thank you
LOVE all your tutorials and your site

many thanks man