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!

13 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?

    • 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.

    • 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.

        • I couldn’t agree more!
          As an ‘old’,69 year old guy, making the transition from Windows, I find 90% of people responding to us ‘newbie’s’ queries are so up themselves, because they have a bit of knowledge, that their responses are often as useful as ‘tits on a bull’, instead of trying to be helpful.
          Arrogance and selfishness are perhaps the worst human traits and unfortunately, they are often represented in a lot the forums.

  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)

  4. The following is an example of the messages I get on updating, which I find confusing: desktop-base: local (3:2018.10.29-1) is newer than community (2:2019. It seems to be telling me Local is newer, but the dates indicate the Community looks much newer.

    Also I notice there is a yes or no choice, with one of them in capitals eg: Y/n or y/N. I am picking it is best to pick the Capital if in doubt?

Leave a Reply to MrBungle Cancel reply

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,123FansLike
209FollowersFollow
5SubscribersSubscribe

LATEST ARTICLES

How to create an Arch Linux Live USB drive on Ubuntu

create Arch Linux Live USB drive
This article provides a step-by-step guide on creating an Arch Linux USB installation media on Ubuntu PC. The Live USB media can be used to install Arch Linux.
watching disney plus linux
Disney Plus or Disney+ is an on-demand entertainment streaming service in which you should see the content produced by Disney Studios, Star Wars, Marvel, Pixar, and National Geographic. The service was launched on the 12th of November 2019.
cool and fun linux commands
The real purpose of this article is to help Linux newbies get comfortable and confident with the Linux command-line.  While knowledge and comfort of the Linux GUI allow great power, it is the mastery of the command line, or CLI, affords the Linux user unlimited power and certifies them as a Linux power user well on their way to becoming an expert.
linux vs unix
When discussing Linux and Unix with average users, it's not uncommon that they will sometimes mistakenly interchange the terms Linux and Unix.  The two are not the same.  Though they share similarities in their overall structures and toolkits, they are decidedly not the same.