How to update Manjaro using command line in the Terminal

Perform system update using command line in the Terminal

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.

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!

Kiran Kumar
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!

9 COMMENTS

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

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

    • Stop mindlessly following and doing whatever is being suggested in the internet. Especially when it’s about Linux. Do some background research on the matters. And might not be bad idea in the future inquire about the matter in Manjaro-forums.

      • Wow, tact much? As you’re learning you make mistakes. While what you said is the correct answer, you don’t need to sound like a di*k that came out of the womb with all of your knowledge. You had to learn too. If you didn’t then you are an a** for not being the richest man in the world with all of your vast genius. People like you are what turn people off from asking question and hinder learning. Check yourself.

  3. Thanks Kiran
    I am using various distros on my computers including Manjaro18 and look for your comments on each one as I find your advise easier and informative.
    Thanks mate.
    Tim (Country Town, New South Wales, Australia)

Leave a Reply to oguz Cancel reply

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,531FansLike
172FollowersFollow

LATEST ARTICLES

Application Launchers for Ubuntu
Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.
best video players for linux
Most Linux-based systems come with a built-in video player, but let's be honest, it most definitely won't be able to satisfy all of your requirements, due to the fact that default software is mostly made for basic purposes. In this article, we will review the 5 Best Video Players for Linux and thoroughly discuss their features as well as their pros and cons.
screen capturing apps for linux
Do you want to make a video tutorial for YouTube or show-off your epic victory royale to your friends? Look no further — as we have compiled the 10 Best Screen Capturing Software for Linux. Whether you need to record your desktop screen or take a simple screenshot, FOSSLinux has got your back.
best linux distros beginners
Making the shift to Linux is not as complicated as some people make it out to be. There is a variety of Linux distributions available that cater to the needs of people who are planning on making the jump to Linux from any other operating system.
best linux distros programmers
Linux distros have long been a favorite among programmers since the rise in popularity of the OS in the nineties. Programmers are technical by nature, and Linux distros appeal to that technical nature. Let's discuss why Linux is a great desktop OS for programmers and developers, and find out best distros suitable for them.