How to install (restricted) audio & video codecs in openSUSE 12.2 (KDE)?

Like many GNU/Linux distributions, openSUSE too doesn’t include a lot of multimedia codecs by default (due to licensing issues). So until you can seriously enjoy the newly installed OS, you really have to get ’em audio and video files to play :).

The good news is that, installing them in openSUSE is extremely easy. For that you can use the ‘one-click’ installer (which opens up the package manager and install them from there) or, you can also use the command line tool ‘zypper’ too.

Due to its simplicity I like to use ‘zypper’. So for installing those proprietary codecs in the newly released openSUSE 12.2 KDE desktop version, open your Terminal and enter the below commands (make sure software like your update manager and other software managers aren’t running from the background. If they do, then close them first).

sudo zypper addrepo

sudo zypper addrepo

sudo zypper refresh

When you enter the last command above you’ll be asked (two times) whether you’d like to accept the ‘key’ of these repositories, simply press ‘a’ to accept them always or to temporarily accept them, type ‘t’.

Then the below command to install the codecs.

sudo zypper install libxine2-codecs k3b-codecs ffmpeg lame gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-ugly gstreamer-0_10-plugins-ugly-orig-addon gstreamer-0_10-plugins-ffmpeg libdvdcss2

That should do it. Now open your favorite media player and try playing something and it should work.


Note: These commands only are for the KDE version. For Gnome users and KDE users who’d like to install them using the GUI tools, please visit this page. Good luck.

An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

2 thoughts on “How to install (restricted) audio & video codecs in openSUSE 12.2 (KDE)?”

    • Hi ‘mal’,

      That is weird. Is your internet connection working properly ?

      Anyhow, I don’t have opeSUSE to test it out right now, but those links are working properly. However, if you use KDE, then you can simply click on the below link and it should open up the package manager GUI, and then please follow the on-screen details to install the codecs (it is the GUI method of installing them).


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.