AMP AMP

How to Install VLC Media Player on openSUSE15.1

How to Install VLC Media Player on openSUSE 15.1

Process:

To check the installed version of operating system

LinuxHelp:~ # cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

Use the below command to install VLC

LinuxHelp:~ # zypper install vlc
Loading repository data...
Reading installed packages...
….
….
  libva-wayland2 libvlc5 libvlccore9 libxcb-composite0 vlc vlc-codec-gstreamer vlc-lang vlc-noX vlc-qt
  vlc-vdpau
…
….
 (39/41) Installing: vlc-codec-gstreamer-3.0.7.1-lp151.6.3.1.x86_64 ....................................[done]
(40/41) Installing: vlc-3.0.7.1-lp151.6.3.1.x86_64 ....................................................[done]
(41/41) Installing: vlc-vdpau-3.0.7.1-lp151.6.3.1.x86_64 ..............................................[done]

Run the VLC player using the following command

LinuxHelp:~ # vlc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use VLC-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).

Use the following command to avoid above error

LinuxHelp:~ # sed -i 's/geteuid/getppid/' /usr/bin/vlc

Now, you can play VLC player without error

LinuxHelp:~ # vlc
VLC media player 3.0.7.1 Vetinari (revision 3.0.7.1-0-gf3940db4af)
[0000561400be80b0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[0000561400b5c430] main libvlc: Running VLC with the default interface. Use 'cvlc' to use vlc without interface.
[0000561400b5b3e0] main playlist: playlist is empty

Click on continue to open VLC media player

With this, the method to Install VLC Media Player on OpenSuse15.1 comes to end here.

FAQ
Q
How to play video/music using a command?
A
To play video/music by using the command is "vlc video/music"
eg: vlc test.mp4
Q
What is the latest version of the VLC media player?
A
The latest version of VLC media player is 3.0.7.1
Q
How to fix the error(VLC is not supposed to be run as root. Sorry) while running VLC as root?
A
use the following command to fix error, while running VLC as root
sed -i 's/geteuid/getppid/' /usr/bin/vlc
Q
List some alternatives to VLC?
A
MPV
SMP player
Potplayer
Mplayer
Q
What is Meant by VLC Media Player?
A
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.