It’s time for an article that describes how to update openSUSE from the terminal. After all, I’ve done so for Ubuntu and Fedora. I might as well do one for openSUSE. It seems like a good thing to do.
While most of this site is aimed at bringing you up to speed, making Linux easier, it’s also biased towards desktop Linux users. Well, today’s distro isn’t really all that popular in the desktop sphere, it’s more a server distro. There is a desktop version, and it’s a pretty great distroy.
So, to avoid confusion, “SLES” stands for SUSE Linux Enterprise Server. It is a paid product with an excellent pedigree and a great reputation in the community. openSUSE is the community edition of that software. openSUSE is mostly used on the desktop, as a workstation distro.
Over the years, I’ve tried openSUSE here and there and found it to be functional, stable, and easy enough to figure out. There’s a lovely rolling-release version of openSUSE that’s called ‘Tumbleweed’. If you have a hankering to try openSUSE, go for it and give Tumbleweed a shot!
A shout-out to a Linux.org user: Gecko Linux is based on openSUSE.
Oddly, it’s often harder to write the intro than it is to write the meat of the article. It can even take more time to write the intro than it takes to write the rest of the article. This article is likely to be one of those.
Ah well… On to the article!
Update openSUSE From The Terminal:
You’ll need an open terminal. If you don’t know how to open the terminal, you can do so with your keyboard – just press
First, you need to refresh the database of what software you have vs what software is available. Obviously this means comparing version numbers. This is a necessary step, otherwise it’d be updating blindly and that’d make no sense! So, the command you’re looking for is:
1 | sudo zypper refresh |
That will run its course and take some time. On a rolling release, you can expect quite a lot of updates to be available. When it is finished, and you’re ready to do the updates, you can just enter:
1 | sudo zypper update |
That’s actually all there is to it, at the base level. There’s still more, as there always is. There’s always more! If you have run the refresh command and want to see what upgrades are available, you can do that with this command:
1 | sudo zypper list-updates |
But, that’s about all you’re going to need to know. Like always, check the man page. It’s not terribly difficult to update openSUSE, anyhow. It’s straight forward in both the terminal and GUI. My personal preference is to use the terminal.
Closure:
Woohoo! There you have it! Here’s another article and this one is showing you how to update openSUSE in the terminal. It’s not terribly difficult, but it’s worth knowing. Not too many people use openSUSE and even the best of us might be unfamiliar and need a hint.
Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.
Last Updated on January 15, 2022 by KGIII
If you’re on Tumbleweed, you should be updating with ‘zypper dup’ rather than ‘zypper update’.
Do you might explaining why?
Yes. Use “zypper dup” rather than update
Could you explain why, so that I can update the article with this additional information?
I asked the other dude but they were not forthcoming. I absolutely do not mind learning new things and updating articles.
You need to use “zypper dup” on the rolling release distro openSUSE Tumbleweed, and “zypper up” on openSUSE Leap. Reasons are explained in the openSUSE wiki:
https://en.opensuse.org/SDB:Upgrade_Tumbleweed
Thanks!