Skip to content Skip to main navigation Skip to footer

OpenSUSE

How to Install VLC Media Player on OpenSUSE 15 Linux

This post will show you how to install VLC Media Player on your OpenSUSE 15 Linux. How do I install the latest VLC Player version through command line on the latest OpenSUSE 15 operating system? This guide will show step by step instruction to install VLC Media Player in OpenSUSE 15 Linux.

What is VLC Media Player?


VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs and various streaming protocols. It supports most of the common video formats, so it is very popular in the Linux world.

VLC Media Player is also available for Desktop operating systems and mobile platforms, such as: Window phone, Android, IOS and Tizen.

Before installing VLC Media Player on your OpenSUSE 15 system, and you need to make sure that you are logged in as a user with sudo privilege so that to be able to install packages.

Before launch VLC Player, you need to make sure that a graphical environment is installed on your OpenSUSE 15 system, so that you can be able to use VLC media player.

VLC Media Player is not the default Media Player in your OpenSUSE Linux system, and it is not available in the standard repository of OpenSUSE Linux system.

install vlc player ubuntu 20.04_13

Install VLC Media Player through VLC Repository on OpenSUSE 15


To install VLC Media Player on your OpenSUSE 15 Linux system, and just do the following steps:

Step1: install VLC EPEL Repository

Since VLC packages is not available in the defualt repository, so you need to install the required repository from its official site of VLC tool with the following command:

$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/SLE15/ vlc

Outputs:

devops@linux-hxqn:~> sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/SLE15/ vlc
Adding repository 'vlc' .....................................................................................................................................................[done]
Repository 'vlc' successfully added

URI : http://download.videolan.org/pub/vlc/SuSE/SLE15/
Enabled : Yes
GPG Check : Yes
Autorefresh : No
Priority : 99 (default priority)

Repository priorities are without effect. All enabled repositories share the same priority.
devops@linux-hxqn:~>

vlc repository should be created under /etc/zypp/repos.d/ directory.

devops@linux-hxqn:~> cat /etc/zypp/repos.d/vlc.repo
[vlc]
enabled=1
autorefresh=0
baseurl=http://download.videolan.org/pub/vlc/SuSE/SLE15/

Then you need to autorefresh the added vlc repository with the following zypper command:

$ sudo zypper mr -r vlc

Outputs:

devops@linux-hxqn:~> sudo zypper mr -r vlc
Autorefresh has been enabled for repository 'vlc'.

Step2: install VLC Media Player

Now you can install the VLC Media Player with the following command:

$ sudo zypper in vlc

Outputs:

devops@linux-hxqn:~> sudo zypper in vlc
Retrieving repository 'vlc' metadata -------------------------------------------------------------------------------------------------------------------------------------------[\]

New repository or package signing key received:

Repository: vlc
Key Name: Dominique Leuenberger (VLC openSUSE Repository) <dominique-vlc.suse@leuenberger.net>
Key Fingerprint: BC8D780D E3308581 B2E07085 33DE8FB7 C8DA93D2
Key Created: Mon 13 Nov 2017 08:25:00 AM EST
Key Expires: Thu 12 Nov 2020 08:25:00 AM EST (expires in 47 days)
Subkey: 10BC76B047A4CDAF 2006-12-09 [expires: 2020-11-13]
Rpm Name: gpg-pubkey-c8da93d2-5a099d2c


Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): t
Retrieving repository 'vlc' metadata ........................................................................................................................................[done]
Building repository 'vlc' cache .............................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

(92/96) Installing: libqt5-qtstyleplugins-platformtheme-gtk2-5.0.0+git20170311-lp151.4.2.x86_64 .............................................................................[done]
(93/96) Installing: libQt5Svg5-5.9.7-lp151.1.3.x86_64 .......................................................................................................................[done]
(94/96) Installing: vlc-qt-3.0.11.1-334.1.x86_64 ............................................................................................................................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/vlc/x86_64/vlc-qt-3.0.11.1-334.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID c8da93d2: NOKEY


(95/96) Installing: vlc-3.0.11.1-334.1.x86_64 ...............................................................................................................................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/vlc/x86_64/vlc-3.0.11.1-334.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID c8da93d2: NOKEY


(96/96) Installing: vlc-vdpau-3.0.11.1-334.1.x86_64 .........................................................................................................................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/vlc/x86_64/vlc-vdpau-3.0.11.1-334.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID c8da93d2: NOKEY

Step3: launch the VLC Media Player on OpenSUSE 15

You can now launch the VLC player either from the command line interface by running the following vlc command or by clicking on Applications menu, then click on “Sound & video” menu, click on “VLC media player” icon to start VLC.

$ vlc

install vlc opensuse15_1

Install VLC Media Player via Snaps package manager


You can also use another package manager tool called Snap to install vlc package.

Snaps are containerised software packages that are simple to create and install. They auto-update and are safe to run. And because they bundle their dependencies, they work on all major Linux systems without modification.

Firstly, you need to install the Snappy repository in termimal with the following command:

For OpenSUSE 15.1 Linux:

$ sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.1 snappy

For OpenSUSE 15.2 Linux:

$ sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2 snappy

once the repository added, and you need to import its GPG key with the following command:

$ sudo zypper --gpg-auto-import-keys refresh

Install Snapd package manager by the following command:

$ sudo zypper install snapd

To install VLC media player, simply use the following command:

$ sudo snap install vlc

Conclusion


You should know that how to install VLC Media Player on opensuse 15.x Linux system. and if you want to get more details about VLC, and you can visit its official page.