Skip to content Skip to main navigation Skip to footer

Tag: VLC Media Player

How to Install VLC Media Player on CentOS 7 Linux

This post will show you how to install VLC Media Player on your CentOS 7 Linux. How do I install the latest VLC Player version through command line on the latest CentOS 7 operating system? This guide will show step by step instruction to install VLC Media Player in CentOS 7 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 installing VLC Media Player on your CentOS 7 Linux system, and you need to make sure that you are logged in as a user with sudo privilege so that to be able to install packages.

Before launch VLC Player, you need to make sure that a graphical environment is installed on your CentOS 7 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 7


To install VLC Media Player on your CentOS 7 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:

$ sudo yum install epel-release -y

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

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

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

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

Step2: install RPM Fusion Repository

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

$ sudo yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

Outputs:

[devops@localhost ~]$ sudo yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
rpmfusion-free-release-7.noarch.rpm | 6.3 kB 00:00:00
Examining /var/tmp/yum-root-qXxyZY/rpmfusion-free-release-7.noarch.rpm: rpmfusion-free-release-7-4.noarch
Marking /var/tmp/yum-root-qXxyZY/rpmfusion-free-release-7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rpmfusion-free-release.noarch 0:7-4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================
Installing:
rpmfusion-free-release noarch 7-4 /rpmfusion-free-release-7.noarch 3.6 k

Transaction Summary
============================================================================================================================================================================================
Install 1 Package

Total size: 3.6 k
Installed size: 3.6 k
Is this ok [y/d/N]:

Installed:
rpmfusion-free-release.noarch 0:7-4
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:

$ yum repolist

Outputs:

[devops@localhost ~]$ yum repolist
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
Determining fastest mirrors
* base: mirrors.aliyun.com
* centos-sclo-rh: mirrors.163.com
* centos-sclo-sclo: mirrors.cn99.com
* elrepo: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.aliyun.com
* rpmfusion-free-updates: mirrors.piconets.webwerks.in
* updates: mirrors.aliyun.com
rpmfusion-free-updates | 3.7 kB 00:00:00
(1/2): rpmfusion-free-updates/x86_64/group_gz | 1.4 kB 00:00:00
(2/2): rpmfusion-free-updates/x86_64/primary_db | 253 kB 00:00:01
repo id repo name status
base/7/x86_64 CentOS-7 - Base - mirrors.aliyun.com 10,070
centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 6,943
centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 802
elrepo ELRepo.org Community Enterprise Linux Repository - el7 122
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,446
extras/7/x86_64 CentOS-7 - Extras - mirrors.aliyun.com 413
mysql-connectors-community/x86_64 MySQL Connectors Community 165
mysql-tools-community/x86_64 MySQL Tools Community 115
mysql57-community/x86_64 MySQL 5.7 Community Server 444
rpmfusion-free-updates/x86_64 RPM Fusion for EL 7 - Free - Updates 247
updates/7/x86_64 CentOS-7 - Updates - mirrors.aliyun.com 1,134
repolist: 33,901

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

Step3: install VLC Media Player on CentOS 7

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

$ sudo yum install vlc

Outputs:

[devops@localhost ~]$ sudo yum install vlc
[sudo] password for devops:
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirror.bit.edu.cn
* elrepo: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.aliyun.com
* rpmfusion-free-updates: mirrors.ustc.edu.cn
* updates: mirrors.aliyun.com
rpmfusion-free-updates | 3.7 kB 00:00:00
(1/2): rpmfusion-free-updates/x86_64/group_gz | 1.4 kB 00:00:01
(2/2): rpmfusion-free-updates/x86_64/primary_db | 253 kB 00:00:02
Resolving Dependencies
--> Running transaction check
---> Package vlc.x86_64 1:3.0.11.1-3.el7 will be installed
Total download size: 34 M
Installed size: 137 M
Is this ok [y/d/N]:
Complete!

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

Outputs:

[devops@localhost ~]$ rpm -q vlc
vlc-3.0.11.1-3.el7.x86_64

Step4: launch the VLC Media Player on CentOS 7

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 centos7-1

install vlc centos7-2

Updating VLC Media Player on CentOS 7


If you would like to update VLC Media Player to the latest version or a new version is released from its official side, and you can update it through your desktop software update tool or just run the following command in your terminal interface:

$ sudo yum udpate vlc

Outputs:

[devops@localhost ~]$ sudo yum update vlc
[sudo] password for devops: 
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirror.bit.edu.cn
* elrepo: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.aliyun.com
* rpmfusion-free-updates: mirrors.ustc.edu.cn
* updates: mirrors.aliyun.com
No packages marked for update

Now the latest stable version is 3.0.11. so no packages need to be updated.

Conclusion


You should know that how to install VLC Media Player on CentOS 7 Linux system. and if you want to get more details about VLC, and you can visit its official page.

 

debian linux logo1

How to Install VLC Media Player on Debian 10 Linux

This post will show you how to install VLC Media Player on your Debian Linux 10.5.0. How do I install the latest VLC Player version through command line on Debian 10.5.0 Linux. This guide will talk several methods for you to install the Media player depending on whether you choose the command line or the graphical interface of your Debian system.

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.
VLC Media Player is also available for Desktop operating systems and mobile platforms, such as: Window phone, Android, IOS and Tizen.
The VLC media player application is available through the snap package manager. You can install it through a single command. The below tutorial will show you how to install VLC on Debian Linux via snap tool or apt package manager.
install vlc player ubuntu 20.04_13

Installing VLC Media Player Using Snap Tool


If you want to install the latest version of VLC Media Player on your Debian 10.5.0, you can use the snap packaging manager system to install VLC Player. You can use Snappy packaging system to install the latest major VLC version. You just need to open your Debian terminal, and executing the following command to install VLC:

$ sudo snap install vlc

Outputs:

root@bogon:~# snap install vlc
Download snap "core18" (1885) from channel "stable" 30% 2.30MB/s 17.5s
Download snap "vlc" (1700) from channel "stable" 1% 732kB
vlc 3.0.11 from VideoLAN✓ installed

Note: if your Debian system do not install snap tool, you can use the following command to install it, type:

$ sudo apt install snapd

Outputs:

root@bogon:~# apt install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
snapd
0 upgraded, 1 newly installed, 0 to remove and 100 not upgraded.
Need to get 14.3 MB of archives.
After this operation, 61.0 MB of additional disk space will be used.
Get:1 http://mirrors.163.com/debian buster/main amd64 snapd amd64 2.37.4-1+b1 [14.3 MB]
Fetched 14.3 MB in 3s (4,182 kB/s)
Selecting previously unselected package snapd.
(Reading database ... 248762 files and directories currently installed.)
Preparing to unpack .../snapd_2.37.4-1+b1_amd64.deb ...
Unpacking snapd (2.37.4-1+b1) ...
Setting up snapd (2.37.4-1+b1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.seeded.service ¡ú /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/cloud-final.service.wants/snapd.seeded.service ¡ú /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service ¡ú /lib/systemd/system/snapd.service.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket ¡ú /lib/systemd/system/snapd.socket.
Processing triggers for mime-support (3.62) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...

After installed VLC package, you can use the following command to launch VLC Media Player through the terminal, type:

$ vlc

install vlc media player debian10_1

Uninstalling VLC Using Snap


If you want to uninstall VLC package through the command line, you can use the following snap command in Debian terminal, type:

$ sudo snap remove vlc

Installing VLC Media Player Using APT


VLC Package is available on the default Debian APT repository , so you can also use Advanced Package Tool or APT tool to install VLC. You need to refresh the software repository cache firstly with the following command:

$ sudo apt update

Then you can run the following command to install VLC Media Player, type:

$ sudo apt install vlc

Outputs:

root@bogon:/home/devops# apt install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
……
Setting up vlc-bin (3.0.11-0+deb10u1) ...
Setting up vlc (3.0.11-0+deb10u1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for libvlc-bin:amd64 (3.0.11-0+deb10u1) ...

After VLC package is successfully installed, you can verify the installation by checking the version of VLC that you installed, type:

$ vlc –version

Outupts:

devops@bogon:~$ 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 buildd on x86-ubc-01.debian.org (Jun 15 2020 21:08:37)
Compiler: gcc version 8.3.0 (Debian 8.3.0-6)
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.

To launch the VLC Media Player on your Debian Linux system, just type the following command in Debian terminal:

$ vlc

install vlc media player debian10_1

Uninstall VLC Media Player Using Apt Command


If you have installed VLC Player via the default Ubuntu APT repository, and you can use the following apt command to uninstall VLC, type:

$ sudo apt remove vlc

Outputs:

devops@bogon:~$ sudo apt remove vlc
[sudo] password for devops:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaribb24-0 libbasicusageenvironment1 libcddb2 libdvbpsi10 libebml4v5 libgroupsock8 libixml10 liblivemedia64 libmad0 libmatroska6v5 libopenmpt-modplug1 libplacebo7
libprotobuf-lite17 libproxy-tools libresid-builder0c2a libsdl-image1.2 libsdl1.2debian libsidplay2 libspatialaudio0 libupnp13 libusageenvironment3 libva-wayland2 libvlc-bin
libvlc5 libvlccore9 vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
vlc
0 upgraded, 0 newly installed, 1 to remove and 100 not upgraded.
After this operation, 229 kB disk space will be freed.
Do you want to continue? [Y/n]
Removing vlc (3.0.11-0+deb10u1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...

Now VLC media player program should be removed from your Debian 10.5.0 Linux system.

Installing VLC Media Player Using Debian Software Center


The VLC Media Player is also available in the list of Debian Software Center, so you can install it through the graphical interface on your Debian system. Just do the following steps:

#1 click on the Activities menu.

install vlc media player debian10_2

#2 click the search text box on the top right and type searching word “VLC”, press Enter key to locate VLC.

install vlc media player debian10_3
#3 Click on Install button and then authorize it with your password. You need to enter the password for a privileged user, and then click the Authenticate button.

install vlc media player debian10_4

install vlc media player debian10_5
#4 VLC will download and install on your Ubuntu system.

install vlc media player debian10_6
#5 after installed, click Launch button to launch VLC Player.

Note: if you want to uninstall VLC through GUI, just click Remove button.

install vlc media player debian10_7

Set VLC Media Player as the Default Media Player


The Default Media Player is RhythmBox utility. So if you want to change VLC Media Player as the default player, just do the following steps:

#1 open the Activities screen, and enter searching word “default applications ”, then click on it. The Default Application window will open.

install vlc media player debian10_8

#2 select VLC Media Player from the drop down list of Music.

install vlc media player debian10_9

Conclusion


You should know that how to install/uninstall VLC Media Player through command line or graphical interface on your latest Debian Linux operating system 10.5.0.

How to Install VLC Media Player on Fedora 31 30 Linux

This post will show you how to install VLC Media Player on your Fedora 30 or Fedora 31 Linux. How do I install the latest VLC Player version through command line on the latest Fedora Linux operating system? This guide will show step by step instruction to install VLC Media Player and remove it in CentOS Fedora 30 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 is a free and portable open-source media player for both Audio and video. It also has a modular application design and it also be translated in several languages.

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

There are different methods to install VLC media player on Fedora 31 or Fedora 30 system. you can either use the default dnf package manager tool or use another tool called snap package manager.

Install VLC Media Player on Fedora 31 /30 using DNF Package Manager


To install VLC Media Player on your Fedora 31 /30 Linux system, and just do the following steps:

Step1: install RPM Fusion Repository

Since VLC packages are available in the RPM Fusion repository that maintained by a community to provide additional packages that can not be distributed in the default Fedora repo.

Just execute the following two commands on the terminal to install and enable RPM Fusion repository, type:

$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
$ sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Outputs:

[root@localhost ~]# sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Last metadata expiration check: 0:39:31 ago on Tue 15 Sep 2020 09:28:37 PM CST.
rpmfusion-free-release-30.noarch.rpm 6.1 kB/s | 13 kB 00:02
Dependencies resolved.
============================================================================================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================================================================================
Downgrading:
rpmfusion-free-release noarch 30-1 @commandline 13 k

Transaction Summary
============================================================================================================================================================================================
Downgrade 1 Package

Total size: 13 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
Downgrading : rpmfusion-free-release-30-1.noarch 1/2
Cleanup : rpmfusion-free-release-30-2.noarch 2/2
Verifying : rpmfusion-free-release-30-1.noarch 1/2
Verifying : rpmfusion-free-release-30-2.noarch 2/2

Downgraded:
rpmfusion-free-release-30-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@localhost ~]# dnf repolist
repo id repo name
fedora Fedora 30 - x86_64
fedora-modular Fedora Modular 30 - x86_64
rpmfusion-free RPM Fusion for Fedora 30 - Free
rpmfusion-free-updates RPM Fusion for Fedora 30 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 30 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 30 - Nonfree - Updates
updates Fedora 30 - x86_64 - Updates
updates-modular Fedora Modular 30 - x86_64 - Updates
virtualbox Fedora 30 - x86_64 - VirtualBox

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

Step2: install VLC Media Player on Fedora 31/30

Now you can install VLC Media player package using dnf command on your Fedora 31/30 Linux system, type the following command:

$ sudo dnf install vlc

Outputs:

[root@localhost ~]# sudo dnf install vlc
Last metadata expiration check: 0:41:45 ago on Tue 15 Sep 2020 09:28:37 PM CST.
Dependencies resolved.
============================================================================================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================================================================================
Installing:
vlc x86_64 1:3.0.10-1.fc30 rpmfusion-free-updates 1.6 M

Transaction Summary
============================================================================================================================================================================================
Install 35 Packages

Total download size: 20 M
Installed size: 90 M
Is this ok [y/N]:
Complete!
[root@localhost ~]#

Note: if you want to run VLC Media Player in Web browsers, and you need to install the following packages via dnf package manager. type:

$ sudo dnf install python-vlc npapi-vlc

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

Outputs:

[root@localhost ~]# rpm -q vlc
vlc-3.0.10-1.fc30.x86_64
Step3: launch the VLC Media Player on Fedora 30/31

You can now launch the VLC player either from the command line interface by running the following vlc command or by clicking on Activities menu, then click on “Applications”” menu, click on “VLC media player” icon to start VLC.

install vlc media player fedora 31_1

Once it has opened, and you need to accept the Privacy and Network Access Policy, then click Continue to start using VLC Media player to play your favorate Audio or Video.

$ vlc

 

Install VLC Media Player on Fedora 31 /30 using SNAP Package Manager


There is another alternate method to install VLC Media Player on your Fedora 30/31. you just need to run the following commands:

$ sudo snap install vlc

outputs:

[devops@localhost ~]$ sudo snap install vlc
Download snap "snapd" (8790) from channel "stable" 3% 177kB/s 2m53s
vlc 3.0.11 from VideoLAN✓ installed

Removing VLC Media Player From Fedora 31/30


If you want to remove or uninstall VLC Media Player application from your Fedora 30/31 Linux system, and you can execute the following command on the terminal, type:

$ sudo dnf remove vlc

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 Fedora 30/31 Linux system, and just do the following steps:
Step1: click Activities menu to open “Activities” window.
Step2: type “default applications” keyword in searching box and then click on it. The “Default Applications” window will appear.
Step3: select “VLC Media Player” option from drop down menu list of both Music and Video.

install vlc media player fedora 31_2

Conclusion


You should know that how to install VLC Media Player on Fedora 31/30 Linux system. and if you want to get more details about VLC, and you can visit its official page.

 

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