How to install VLC Player on CentOS 8 / RHEL 8 Linux - LinuxConfig.org

The objective is to install the VLC media player by using both, EPEL and RPM fusion repositories on CentOS 8 / RHEL 8 Linux. VLC media player is a portable cross-platform media player software and streaming media server developed by the VideoLAN project.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-vlc-player-on-centos-8-rhel-8-linux

On my system, I needed to explicitly add qt5-qtsvg, otherwise I would get only a CLI interface to VLC. So my installation command was:
dnf install qt5-qtsvg vlc
So it seems there is a missing dependency in the vlc package.

No issue here, but I must admit that I’m on RHEL 8.1, not on CentOS. The qt5-qtsvg was automatically installed as dependency:

[root@mymachine ~]# yum install vlc
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:10 ago on Sat 21 Dec 2019 08:20:27 PM CET.
Dependencies resolved.
================================================================================
 Package         Arch   Version          Repository                        Size
================================================================================
Installing:
 vlc             x86_64 1:3.0.9-22.el8   rpmfusion-free-updates           1.9 M
Installing dependencies:
 aalib-libs      x86_64 1.4.0-0.37.rc5.el8
                                         epel                              72 k
 fluidsynth-libs x86_64 1.1.11-6.el8     epel                             214 k
 game-music-emu  x86_64 0.6.2-3.el8      epel                             155 k
 jack-audio-connection-kit
                 x86_64 1.9.12-8.el8     epel                             519 k
 libaom          x86_64 1.0.0-8.20190810git9666276.el8
                                         epel                             1.6 M
 libass          x86_64 0.14.0-4.el8     epel                             110 k
 libcaca         x86_64 0.99-0.43.beta19.el8
                                         epel                             227 k
 libcddb         x86_64 1.3.2-30.el8     epel                              79 k
 libchromaprint  x86_64 1.4.2-6.el8      epel                              54 k
 libdav1d        x86_64 0.5.1-1.el8      epel                             346 k
 libdvbpsi       x86_64 1.3.3-1.el8      epel                             105 k
 libebml         x86_64 1.3.7-2.el8      epel                              87 k
 libkate         x86_64 0.4.1-18.el8     epel                              59 k
 libmatroska     x86_64 1.5.0-1.el8      epel                             170 k
 libmfx          x86_64 1.25-4.el8       epel                              36 k
 libmicrodns     x86_64 0.0.10-4.el8     epel                              29 k
 libmodplug      x86_64 1:0.8.9.0-9.el8  epel                             171 k
 libtiger        x86_64 0.3.4-18.el8     epel                              43 k
 libupnp         x86_64 1.8.4-3.el8      epel                             115 k
 libvmaf         x86_64 1.3.15-1.el8     epel                             347 k
 lirc-libs       x86_64 0.10.0-19.el8    epel                             139 k
 pugixml         x86_64 1.9-1.el8        epel                              97 k
 schroedinger    x86_64 1.0.11-21.el8    epel                             321 k
 soxr            x86_64 0.1.3-4.el8      epel                              97 k
 vid.stab        x86_64 1.1.0-12.20190213gitaeabc8d.el8
                                         epel                              47 k
 zvbi            x86_64 0.2.35-9.el8     epel                             424 k
 ocl-icd         x86_64 2.2.12-1.el8     rhel-8-for-x86_64-appstream-rpms  51 k
 libdc1394       x86_64 2.2.2-10.el8     rhel-8-for-x86_64-appstream-rpms 126 k
 libvdpau        x86_64 1.1.1-7.el8      rhel-8-for-x86_64-appstream-rpms  40 k
 qt5-qtx11extras x86_64 5.11.1-2.el8     rhel-8-for-x86_64-appstream-rpms  34 k
 qt5-qtsvg       x86_64 5.11.1-2.el8     rhel-8-for-x86_64-appstream-rpms 182 k
 freeglut        x86_64 3.0.0-8.el8      rhel-8-for-x86_64-appstream-rpms 191 k
 protobuf-lite   x86_64 3.5.0-7.el8      rhel-8-for-x86_64-appstream-rpms 149 k
 fftw-libs-double
                 x86_64 3.3.5-11.el8     rhel-8-for-x86_64-appstream-rpms 992 k
 libva           x86_64 2.4.1-1.el8      rhel-8-for-x86_64-appstream-rpms  93 k
 libusb          x86_64 1:0.1.5-12.el8   rhel-8-for-x86_64-baseos-rpms     42 k
 faad2-libs      x86_64 1:2.8.8-6.el8    rpmfusion-free-updates           177 k
 ffmpeg-libs     x86_64 4.2.1-3.el8      rpmfusion-free-updates           7.2 M
 libdca          x86_64 0.0.6-4.el8      rpmfusion-free-updates           113 k
 libmpeg2        x86_64 0.5.1-17.el8     rpmfusion-free-updates            76 k
 live555         x86_64 2019.06.28-1.el8 rpmfusion-free-updates           404 k
 opencore-amr    x86_64 0.1.5-7.el8      rpmfusion-free-updates           180 k
 vlc-core        x86_64 1:3.0.9-22.el8   rpmfusion-free-updates            10 M
 vo-amrwbenc     x86_64 0.1.3-8.el8      rpmfusion-free-updates            77 k
 x264-libs       x86_64 0.157-12.20190717git34c06d1.el8
                                         rpmfusion-free-updates           651 k
 x265-libs       x86_64 3.1.2-1.el8      rpmfusion-free-updates           1.9 M
 xvidcore        x86_64 1.3.6-1.el8      rpmfusion-free-updates           268 k

Transaction Summary
================================================================================
Install  48 Packages

[root@kellerpc ~]# dnf install zoneminder
Last metadata expiration check: 0:00:48 ago on Sun 19 Jan 2020 03:17:19 PM UTC.
Error:
Problem: package zoneminder-1.32.3-4.el8.x86_64 requires zoneminder-common(x86-64) = 1.32.3-4.el8, but none of the providers can be installed

  • package zoneminder-common-1.32.3-4.el8.x86_64 requires libvlc.so.5()(64bit), but none of the providers can be installed
  • package zoneminder-common-1.32.3-4.el8.x86_64 requires vlc-core, but none of the providers can be installed
  • conflicting requests
  • nothing provides libssh2.so.1()(64bit) needed by vlc-core-1:3.0.9-22.el8.x86_64
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Hi Eli,

Welcome to our forums.

Please review our guidelines about how to ask for help, and provide us with some details so we can help solving your issue. In this specific case, please provide at least your enabled repositories, and your exact operating system version.

The output of the following may also help:

# dnf info zoneminder --verbose

Sandmann

Dear Sandmann,
sorry for being quite for so long. The problem was a missing dependency for the vlc-core 3.0.9-22.el8.x86_64 package.

[root@kellerpc ~]# dnf install zoneminder
Last metadata expiration check: 0:37:39 ago on Sun 19 Jan 2020 03:17:19 PM UTC.
Error: 
 Problem: package zoneminder-1.32.3-4.el8.x86_64 requires zoneminder-common(x86-64) = 1.32.3-4.el8, but none of the providers can be installed
  - package zoneminder-common-1.32.3-4.el8.x86_64 requires libvlc.so.5()(64bit), but none of the providers can be installed
  - package zoneminder-common-1.32.3-4.el8.x86_64 requires vlc-core, but none of the providers can be installed
  - conflicting requests
  - nothing provides libssh2.so.1()(64bit) needed by vlc-core-1:3.0.9-22.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@kellerpc ~]# dnf repolist
repo id                                            repo name
AppStream                                          CentOS-8 - AppStream
BaseOS                                             CentOS-8 - Base
PowerTools                                         CentOS-8 - PowerTools
Stream-AppStream                                   CentOS-Stream - AppStream
Stream-BaseOS                                      CentOS-Stream - Base
Stream-extras                                      CentOS-Stream - Extras
epel                                               Extra Packages for Enterprise Linux 8 - x86_64
extras                                             CentOS-8 - Extras
rpmfusion-free-updates                             RPM Fusion for EL 8 - Free - Updates
rpmfusion-nonfree-updates                          RPM Fusion for EL 8 - Nonfree - Updates

Meanwhile the issue is resolved: vlc-core 3.0.9-28.el8 no more requires the non-existing libssh2.so.1
Best regards,
Eli

Hi Eli,

Thanks for the update. So it seems it was a bogus dependency after all.