Sunday, November 02, 2014

Updating packages on OpenSUSE via console

Zypper is the functionally equivalent to apt-get or aptitude for OpenSUSE. Man page should give you more information how to use it, you can also visit http://en.opensuse.org/SDB:Zypper_usage_1 for additional information.

For example, to update your current system with the latest packages open konsole and do:

$: su
#: zypper refresh
#: zypper update

To install plain old rpm do:
$: su
#: zypper install google-chrome-stable_current_i386.rpm
This should install the downloaded stable version of Google Chrome. Of course you can substitute suitable rpm as necessary.

To search for a package like libpng, do:
$: zypper search libpng

~ts

3 comments:

Anonymous said...

No offense, pal, but this is a useless post. Why don't you at least say a little more about zypper's commands or its capabilities?

Techno Scavenger said...

I might do that in the future. I am still trying to learn the openSUSE way of doing things. I have been using Debian for quite a while so this might take some time.

Anonymous said...

I disagree, this post was usefull to me. I have just installed openSuse 12.3 and "Software Updater" hangs up after showing the updates list. I am using zypper now, it seems to be working. Will post results later