Skip to content Skip to main navigation Skip to footer

How to Install VLC Media Player on CentOS 8 Linux

This post will show you how to install VLC Media Player on your CentOS 8 Linux. How do I install the latest VLC Player version through command line on the latest CentOS 8 operating system? This guide will show step by step instruction to install VLC Media Player in CentOS 8 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 launch VLC Player, you need to make sure that a graphical environment is installed on your CentOS 8 system, so that you can be able to use VLC media player.

install vlc player ubuntu 20.04_13

Install VLC Media Player on CentOS 8


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

Step1: install EPEL Repository

Since VLC packages are available in the RPM Fusion repository. And the RPM Fusion repository depends on the EPEL repository. To install EPEL repository, just do the following steps:

$ dnf install epel-release -y

Once epel package is installed, it will create epel repository files under /etc/yum.repos.d/ directory.

[root@mydevops ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux $releasever - $basearch
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8

[epel-debuginfo]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/SRPMS
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
gpgcheck=1

[root@mydevops ~]#

Step2: install RPM Fusion Repository

You need to install RPM Fusion repository package on your CentOS 8 Linux for installing VLC media player, type:

$ dnf -y install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm

Outputs:

root@mydevops ~]# dnf -y install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
Last metadata expiration check: 1:23:35 ago on Sun 13 Sep 2020 07:02:03 AM EDT. rpmfusion-free-release-8.noarch.rpm                                                                                                                                                                              8.1 kB/s |  11 kB     00:01    Dependencies resolved.
Install  1 Package Total size: 11 k Installed size: 3.7 k 
Downloading Packages: 
Running transaction check Transaction check succeeded. 
Running transaction test Transaction test succeeded. 
Running transaction   
Preparing        :                                                                                                                                                                                                                         
/1   Installing       : rpmfusion-free-release-8-0.1.noarch                                                                                                                                               1/1   Verifying        : rpmfusion-free-release-8-0.1.noarch         
1/1 Installed products updated. Installed:   rpmfusion-free-release-8-0.1.noarch                                                                                                                                                     Complete!

Once it is installed successfully. One RPM Fusion repo file should be created under the /etc/yum.repos.d/ directory.

You can verify all repo list by run the below command:

$ dnf repolist

Outputs:

[root@mydevops ~]# dnf repolist
repo id                                                                                                  repo name
AppStream                                                                                                CentOS-8 - AppStream
BaseOS                                                                                                   CentOS-8 - Base
epel                                                                                                     Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                                                                             Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                                                                   CentOS-8 - Extras
google-chrome                                                                                            google-chrome-x86_64
rpmfusion-free-updates                                                                                   RPM Fusion for EL 8 - Free – Updates

From the above outputs, you can see that rpmfusion-free-updates repo has been enabled.

Step3: install VLC Media Player on CentOS 8

Now you can install VLC Media player package using dnf command on your CentOS 8 Linux system, type the following command:

$ sudo dnf install vlc

Outputs:

[root@mydevops ~]# dnf install vlc
RPM Fusion for EL 8 - Free - Updates                                                                                                                                                                             135 kB/s | 262 kB     00:01   
Dependencies resolved.
=================================================================================================================================================================================================================================================
 Package                                                       Architecture                               Version                                                               Repository                                                  Size
=================================================================================================================================================================================================================================================
Installing:
 vlc                                                           x86_64                                     1:3.0.11.1-3.el8                                                      rpmfusion-free-updates                                     1.5 M
Installing dependencies:
 aalib-libs                                                    x86_64                                     1.4.0-0.37.rc5.el8                                                    epel                                                        72 k
Total download size: 47 M
Installed size: 176 M
Is this ok [y/N]: y
Downloading Packages:

Once VLC is installed successfully on your system, and you can use the following rpm command with -q option to verify it.

$ rpm -q vlc

Step4: launch the VLC Media Player on CentOS 8

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 centos8_1

Set VLC Media Player as the Default Media Player


If you want to set VLC Media Player as the default media player on your current CentOS 8 system, and just do the following steps:

Step1: click Activities menu to open “Activities” window.

install vlc centos8_2

Step2: type “default applications” keyword in searching box and then click on it. The “Default Applications” window will appear.

install vlc centos8_3

Step3: select “VLC Media Player” option from drop down menu list of both Music and Video.

install vlc centos8_4

 

Conclusion


You should know that how to install VLC Media Player on CentOS 8 Linux system. and if you want to get more details about VLC, and you can visit its official page. https://wiki.videolan.org/Documentation:Documentation

 

 

0 Comments

There are no comments yet

Leave a comment

Your email address will not be published.