‘VLC’ is a powerful multimedia player that has tons and tons of options. Its GUI is designed using the ‘Qt’ toolkit and thus it looks ‘native’ under ‘Qt’ based desktops such as KDE. Plus, I never really liked ‘Kaffiene’ (default media player of KDE), so I usually replace it with VLC under KDE as well.
Now as you already know, ‘openSUSE 12.3‘ does not ship with proprietary multimedia codecs, and media players such as VLC, SMPlayer etc. But as long as you have a working internet connection, installing them is pretty easy.
Note: If you have already installed the proprietary codecs then you can skip ‘Step 1’ & ‘Step 2’, and go straight to ‘Step 3’.
Enabling the multimedia repositories …
We have to enable two software repositories first. For this guide, I’ll be using the command-line based method (using the ‘zypper’ -- CLI package manager in ‘openSUSE’).
Now, currently there’s a small issue in one of the repositories and that is, it doesn’t have the ‘packman.repo’ file, a file that ‘zypper’ needs for properly activating/enabling it. But fear not ;-), I have created the required ‘packman.repo’ file by using the ‘packman.repo’ file of ‘openSUSE 12.2’.
So first, download it from here. It’s compressed, so once the download completes, extract the file inside it to your ‘Home’ folder.
Another method …
Actually, thanks to ‘Allan’ (comments below), I just realized that VLC provide a repository for ‘openSUSE’ and thus it should give you the latest versions, as soon as they’re released, directly form VLC!.
For that, please refer to this page, if you’re going to use this method, then please ignore the below steps.
Then open your Terminal window (search for ‘Konsole’ on the Startmenu) and enter the below command.
sudo mv packman.repo /etc/zypp/repos.d/
Then the below one.
sudo zypper addrepo -r http://www.opensuse-guide.org/repo/12.3/libdvdcss.repo
Then the below one also.
sudo zypper refresh
Now enter the below command to install VLC.
sudo zypper install vlc-qt vlc
Then reboot the computer and the next time you log-in, VLC will be the default media player (if you haven’t installed another one prior to it) for playing videos. That’s it!.