How to install VLC in openSUSE
VLC player is not part of standard openSUSE repositories, so we have to add additional repository for VLC and its tools:
Adding VLC repository
For openSUSE Leap 15.0:
$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/Leap_15.0/ VLC
For openSUSE Leap 15.1:
$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/Leap_15.1/ VLC
For openSUSE Leap 15.2:
$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/Leap_15.2/ VLC
For openSUSE SLE11:
$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/SLE11/ VLC
For openSUSE SLE12
$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/SLE12/ VLC
For openSUSE SLE15:
$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/SLE15/ VLC
For openSUSE Tumbleweed:
$ sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/ VLC
For openSUSE Leap 15.1 output of command for adding repo was following:
Adding repository 'VLC' .......................................[done]
Repository 'VLC' successfully added
URI : http://download.videolan.org/pub/vlc/SuSE/Leap_15.1/
Enabled : Yes
GPG Check : Yes
Autorefresh : No
Priority : 99 (default priority)
Repository priorities in effect: (See 'zypper lr -P' for details)
90 (raised priority) : 2 repositories
99 (default priority) : 11 repositories
Installing VLC
When new repository was added, we can simply install VLC running two commands:
$ sudo zypper mr -r VLC
$ sudo zypper in vlc
In case you're missing some libraries or packages, system will ask to you install them.