How to Install VLC Media Player in RHEL / CentOS 8 Using 6 Easy Steps

In this article, I will take you through the Steps to Install VLC Media Player in RHEL/CentOS 8 Using 8 Easy Steps. You might be aware of the popular VLC Media Player which is very commonly used to play video and audio files in almost all kind of platforms. You will not find VLC Media Player installed by default in any of the Linux based Systems nor it is available directly from any of Linux distros. You need to enable EPEL and RPM Fusion Repository in your System to download the VLC Media Package. You will find detailed steps in below sections where I have shown how to install VLC Media Player in RHEL/CentOS 8.

How to Install VLC Media Player in RHEL / CentOS 8 Using 6 Easy Steps 1

Install VLC Media Player in RHEL/CentOS 8

Also Read: How to Disable IPV6 on Linux (RHEL / CentOS 7/8) Using 4 Best Steps

Step 1: Prerequisites

a)You need to have a Running RHEL/CentOS 8 System.

b)You should have dnf utility installed in your System. To know more about DNF command you can check 31 Useful DNF Command Examples for RPM Package Management in Fedora/RHEL/CentOS.

c)You should have sudo access to run privileged commands. To know more about providing sudo access to user, you can check Step by Step: How to add User to Sudoers.

Step 2: Update Your System

First you need to update your system using dnf update -y command as shown below. This is to make sure your System has all the latest stable releases installed. Sometimes it might happen that the dependent packages which needs to be installed requires other packages to be updated so it is very important to keep our System updated before installing any new package in it.

[root@localhost ~]# dnf update -y
Last metadata expiration check: 0:07:22 ago on Sat 18 Jul 2020 04:45:56 AM EDT.
Dependencies resolved.
Package Architecture Version Repository Size
kernel-core x86_64 4.18.0-193.6.3.el8_2 BaseOS 28 M
alsa-lib x86_64 AppStream 441 k
container-selinux noarch 2:2.124.0-1.module_el8.2.0+305+5e198a41 AppStream 47 k
containers-common x86_64 1:0.1.40-11.module_el8.2.0+377+92552693 AppStream 50 k
fribidi x86_64 1.0.4-8.el8 AppStream 89 k
fuse-overlayfs x86_64 0.7.2-5.module_el8.2.0+305+5e198a41 AppStream 60 k
git x86_64 2.18.4-2.el8_2 AppStream 186 k
git-core x86_64 2.18.4-2.el8_2 AppStream 4.0 M
git-core-doc noarch 2.18.4-2.el8_2 AppStream 2.3 M
gtk-update-icon-cache x86_64 3.22.30-5.el8 AppStream 32 k
gtk3 x86_64 3.22.30-5.el8 AppStream 4.5 M
java-1.8.0-openjdk-headless x86_64 1: AppStream 33 M
java-11-openjdk x86_64 1: AppStream 247 k
java-11-openjdk-devel x86_64 1: AppStream 3.3 M
java-11-openjdk-headless x86_64 1: AppStream 40 M
libdrm x86_64 2.4.100-1.el8 AppStream 164 k
libepoxy x86_64 1.5.3-1.el8 AppStream 225 k
libmaxminddb x86_64 1.2.0-7.el8 AppStream 25 k
libtiff x86_64 4.0.9-17.el8 AppStream 188 k
libwayland-client x86_64 1.17.0-1.el8 AppStream 39 k
libwayland-cursor x86_64 1.17.0-1.el8 AppStream 26 k
libwayland-egl x86_64 1.17.0-1.el8 AppStream 19 k
libxcb x86_64 1.13.1-1.el8 AppStream 229 k
libxkbcommon x86_64 0.9.1-1.el8 AppStream 116 k

Step 3: Install and Enable EPEL Repository

After successful update you need to first install and enable EPEL Repository using below dnf install command. This command will install EPEL Repository from its download link and then enable it. You can check your /etc/yum.repos.d directory to verify if it is enabled or not.

[root@localhost ~]# dnf install
Last metadata expiration check: 0:04:22 ago on Sat 18 Jul 2020 04:40:22 AM EDT.
epel-release-latest-8.noarch.rpm 19 kB/s | 22 kB 00:01
Package epel-release-8-8.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.

Step 4: Install and Enable RPM Fusion Repository

Next Step is to install and Enable RPM Fusion Repository using below dnf install command. This command will install the RPM Fusion repository from its download link and then enable it. Like previous steps ,you can check your /etc/yum.repos.d directory to verify if it is enabled or not.

[root@localhost ~]# dnf install
Last metadata expiration check: 0:04:46 ago on Sat 18 Jul 2020 04:40:22 AM EDT.
rpmfusion-free-release-8.noarch.rpm 13 kB/s | 11 kB 00:00
Dependencies resolved.
Package Architecture Version Repository Size
rpmfusion-free-release noarch 8-0.1 @commandline 11 k

Transaction Summary
Install 1 Package

Total size: 11 k
Installed size: 3.7 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : rpmfusion-free-release-8-0.1.noarch 1/1
Verifying : rpmfusion-free-release-8-0.1.noarch 1/1



Step 5: Download and Install VLC Media Player

After enabling the required Repo you can install VLC Media Player by using dnf install vlc -y command as shown below. This command will download and install all the required VLC Media Player packages from EPEL and RPM Fusion repository.

[root@localhost ~]# dnf install vlc -y
CentOS-8 - AppStream 6.8 kB/s | 4.3 kB 00:00
CentOS-8 - Base 5.6 kB/s | 3.9 kB 00:00
CentOS-8 - Extras 2.5 kB/s | 1.5 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 16 kB/s | 8.8 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 33 kB/s | 6.3 kB 00:00
Google Cloud SDK 238 B/s | 454 B 00:01
RPM Fusion for EL 8 - Free - Updates 97 kB/s | 262 kB 00:02
Dependencies resolved.
Package Architecture Version Repository Size
vlc x86_64 1:3.0.11-1.el8 rpmfusion-free-updates 1.5 M
libX11 x86_64 1.6.8-3.el8 AppStream 611 k
libX11-common noarch 1.6.8-3.el8 AppStream 158 k
libldb x86_64 2.0.7-3.el8 BaseOS 180 k
libsss_idmap x86_64 2.2.3-20.el8 BaseOS 107 k
libtalloc x86_64 2.2.0-7.el8 BaseOS 49 k
libtdb x86_64 1.4.2-2.el8 BaseOS 59 k
libtevent x86_64 0.10.0-2.el8 BaseOS 49 k
sssd-client x86_64 2.2.3-20.el8 BaseOS 171 k
sssd-common x86_64 2.2.3-20.el8 BaseOS 1.5 M
sssd-kcm x86_64 2.2.3-20.el8 BaseOS 218 k
Installing dependencies:
desktop-file-utils x86_64 0.23-8.el8 AppStream 80 k
fftw-libs-double x86_64 3.3.5-11.el8 AppStream 992 k
flac-libs x86_64 1.3.2-9.el8 AppStream 217 k
freeglut x86_64 3.0.0-8.el8 AppStream 191 k
glibmm24 x86_64 2.56.0-1.el8 AppStream 654 k
glx-utils x86_64 8.4.0-4.20181118git1830dcb.el8 AppStream 44 k
gpm-libs x86_64 1.20.7-15.el8 AppStream 39 k
gsm x86_64 1.0.17-5.el8 AppStream 37 k
lame-libs x86_64 3.100-6.el8 AppStream 361 k
libX11-xcb x86_64 1.6.8-3.el8 AppStream 14 k
libXxf86vm x86_64 1.1.4-9.el8 AppStream 19 k
liba52 x86_64 0.7.4-32.el8 AppStream 42 k
libasyncns x86_64 0.8-14.el8 AppStream 32 k
libavc1394 x86_64 0.5.4-7.el8 AppStream 61 k
libbluray x86_64 1.0.2-3.el8 AppStream 162 k
libcdio x86_64 2.0.0-3.el8 AppStream 256 k
libdc1394 x86_64 2.2.2-10.el8 AppStream 126 k
libdvdnav x86_64 5.0.3-8.el8 AppStream 61 k
libdvdread x86_64 5.0.3-9.el8 AppStream 75 k
libglvnd x86_64 1:1.2.0-6.el8 AppStream 98 k
libglvnd-egl x86_64 1:1.2.0-6.el8 AppStream 50 k
libglvnd-glx x86_64 1:1.2.0-6.el8 AppStream 136 k
libiec61883 x86_64 1.2.0-18.el8 AppStream 43 k
libmad x86_64 0.15.1b-25.el8 AppStream 84 k
libmpcdec x86_64 1.2.6-20.el8 AppStream 36 k
libmtp x86_64 1.1.14-3.el8 AppStream 189 k
libogg x86_64 2:1.3.2-10.el8 AppStream 31 k
libraw1394 x86_64 2.1.2-5.el8 AppStream 72 k
librsvg2 x86_64 2.42.7-3.el8 AppStream 570 k
libsamplerate x86_64 0.1.9-1.el8 AppStream 1.0 M
libshout x86_64 2.2.2-19.el8 AppStream 50 k
libsigc++20 x86_64 2.10.0-5.el8 AppStream 44 k
libsndfile x86_64 1.0.28-10.el8 AppStream 193 k
libtheora x86_64 1:1.1.1-21.el8 AppStream 184 k
libva x86_64 2.5.0-2.el8 install vlc media AppStream 95 k
libvdpau x86_64 1.1.1-7.el8 install vlc media AppStream 40 k
libvncserver x86_64 0.9.11-14.el8 AppStream 273 k
libvorbis x86_64 1:1.3.6-2.el8 install vlc media AppStream 196 k
libvpx x86_64 1.7.0-6.el8 install vlc media AppStream 852 k
libwayland-server x86_64 1.17.0-1.el8 AppStream 45 k
libxshmfence x86_64 1.3-2.el8 AppStream 13 k
mesa-filesystem x86_64 19.3.4-2.el8 AppStream 33 k
mesa-libEGL x86_64 19.3.4-2.el8 AppStream 133 k
mesa-libGL x86_64 19.3.4-2.el8 AppStream 184 k
mesa-libGLU x86_64 9.0.0-15.el8 AppStream 185 k
mesa-libgbm x86_64 19.3.4-2.el8 AppStream 55 k
mesa-libglapi x86_64 19.3.4-2.el8 AppStream 63 k
mpg123-libs x86_64 1.25.10-2.el8 AppStream 208 k
ocl-icd x86_64 2.2.12-1.el8 install vlc media AppStream 51 k
openjpeg2 x86_64 2.3.1-6.el8 AppStream 154 k
opus x86_64 1.3-0.4.beta.el8 install vlc media AppStream 204 k
orc x86_64 0.4.28-3.el8 install vlc media AppStream 175 k
protobuf-lite x86_64 3.5.0-7.el8 AppStream 150 k
pulseaudio-libs x86_64 11.1-23.el8 install vlc AppStream 677 k
qt5-qtbase x86_64 5.12.5-4.el8 AppStream 3.4 M
qt5-qtbase-common noarch 5.12.5-4.el8 AppStream 40 k
qt5-qtbase-gui x86_64 5.12.5-4.el8 AppStream 5.9 M
qt5-qtdeclarative x86_64 5.12.5-1.el8 AppStream 3.7 M
qt5-qtsvg x86_64 5.12.5-1.el8 install vlc AppStream 184 k
qt5-qtx11extras x86_64 5.12.5-1.el8 AppStream 40 k
speex x86_64 1.2.0-1.el8 install vlc AppStream 71 k
speexdsp x86_64 1.2-0.13.rc3.el8 AppStream 456 k
taglib x86_64 1.11.1-8.el8 AppStream 341 k
twolame-libs x86_64 0.3.13-11.el8 AppStream 57 k
xcb-util x86_64 0.4.0-10.el8 AppStream 22 k
xcb-util-image x86_64 0.4.0-9.el8 AppStream 21 k
xcb-util-keysyms x86_64 0.4.0-7.el8 AppStream 16 k
xcb-util-renderutil x86_64 0.3.9-10.el8 AppStream 19 k
xcb-util-wm x86_64 0.4.1-12.el8 AppStream 32 k
xdg-utils noarch 1.1.2-5.el8 AppStream 84 k
dejavu-sans-mono-fonts noarch 2.35-6.el8 BaseOS 447 k
dejavu-serif-fonts noarch 2.35-6.el8 BaseOS 804 k
libconfig x86_64 1.5-9.el8 BaseOS 69 k
libsmbclient x86_64 4.11.2-13.el8 BaseOS 146 k
libusb x86_64 1:0.1.5-12.el8 BaseOS 42 k
libwbclient x86_64 4.11.2-13.el8 BaseOS 117 k
lzo-minilzo x86_64 2.08-14.el8 BaseOS 29 k
pcre2-utf16 x86_64 10.32-1.el8 BaseOS 228 k
samba-client-libs x86_64 4.11.2-13.el8 BaseOS 5.1 M
samba-common noarch 4.11.2-13.el8 BaseOS 212 k
samba-common-libs x86_64 4.11.2-13.el8 BaseOS 173 k
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.14-4.el8 epel 523 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.2-1.el8 epel 347 k
libdvbpsi x86_64 1.3.3-1.el8 epel 105 k
libebml x86_64 1.3.7-2.el8 epel 87 k
libffado x86_64 2.4.3-2.el8 epel 835 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.1.2-1.el8 epel 30 k
libmodplug x86_64 1: 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
libxml++ x86_64 2.40.1-10.el8 epel 102 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 install vlc 97 k
srt-libs x86_64 1.4.1-3.el8 epel 249 k
vapoursynth-libs x86_64 48-7.el8 epel 427 k
vid.stab x86_64 1.1.0-12.20190213gitainstall vlc.el8 epel 47 k
zimg x86_64 2.9.3-1.el8 epel 269 k
zvbi x86_64 0.2.35-9.el8 epel 424 k
faad2-libs x86_64 1:2.8.8-6.el8 rpmfusion-free-updates 177 k
ffmpeg-libs x86_64 4.2.4-1.el8 rpmfusion-free-updates 7.1 M
libdca x86_64 0.0.6-4.el8 rpmfusion-free-updates 113 k
libmpeg2 x86_64 0.5.1-17.el8 rpmfusion-install vlc-updates 76 k
live555 x86_64 2020.04.12-1.el8 rpmfusion-free-updates 419 k
opencore-amr x86_64 0.1.5-7.el8 rpmfusion-free-updates 180 k
vlc-core x86_64 1:3.0.11-1.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.7-1.el8 rpmfusion-free-updates 268 k
Installing weak dependencies:
qt5-qtwayland x86_64 5.12.5-1.el8 AppStream 933 k

Transaction Summary
Install 125 Packages
Upgrade 10 Packages

Total download size: 66 M

Step 6: Check VLC Media Player version

Once VLC Media Player is installed, you can check the installed version using vlc --version command as shown below. As you can see from the output, currently installed version is 3.0.11. Also you can notice that I am running vlc --version command from centos user and not using root user. This is because vlc command does not work with root user. You need to always use non-root user account to run vlc commands.

[centos@localhost ~]$ vlc --version
VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72)
VLC version 3.0.11 Vetinari (3.0.11-0-gdc0c5ced72)
Compiled by mockbuild on (Jun 21 2020 17:13:02)
Compiler: gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.



Popular Recommendations:-

How to Limit CPU Limit of a Process Using CPULimit in Linux (RHEL/CentOS 7/8)

How to Install Rust Programming Language in Linux Using 6 Best Steps

How to Install LEMP Stack on CentOS 8

Openssl Tutorial: Generate and Install Certificate on Apache Server in 8 Easy Steps

How to Enable or Disable SELinux Temporarily or Permanently on RedHat/CentOS 7/8

10 Popular Examples of sudo command in Linux(RedHat/CentOS 7/8)

25+ Popular Examples of Openssl commands in Linux (RedHat/CentOS 7/8)

12 Most Popular rm command in Linux with Examples

Create a Self Signed Certificate using OpenSSL

Top 12 Nmap Commands to Scan Remote Host with Best Practices


One Response

  1. Tanya Dang August 28, 2020

Leave a Reply