How to download and install VLC media player on RHEL/Centos/Fedora…

VLC (VideoLAN Client) is a versatile media player software which is free and open source to use. It is available almost for all kind operating system from Linux Window, MacOS to Android, iPhone or OpenBSD; where you can install it easily.

It not only plays the videos but also music including streaming videos from a local or online resource such as YouTube. VLC supports a variety of media formats and streaming media protocols. However, on Windows and other operating systems it is easy to install but when it comes to Linux users still struggle because of command interface. Here in this article, we let you know how to install the VLC media player on RedHat and its based OS such as Centos and Fedora.

Install VLC Media player on RHEL 7/CentOS 7/Scientific Linux (SL 7)

  1. Go to your Red Hat or CentOS or other RHEL based Linux OS.
  2. If you have a Graphical interface search Terminal and open it to run the command.
  3. Switch to root user using the below command.
    • su
  4. Install Epel-release repository refer the below command.
    • yum install
  5. Install RPM Fusion for EL7
    • yum install
  6. Download and install the VLC Media player 
    • yum -y install vlc
  7. To check the VLC installation you  can use the below command
    • rpm -qa | grep vlc
  8. Now get back to the standard use of your RedHat and Centos because from the terminal you can’t run the VLC as root user due to security purpose. Once you switch the user just type:
    • vlc
  9. In case you are using server version then for Minimal/server use the below command to install the VLC core otherwise just leave this step.
    • yum install vlc-core (for minimal headless/server install)
  10. Even after installation, you access the VLC form start menu. Just go there on the start menu and search for and install VLC media RHEL Centos Fedora VLC media player install on RHEL- Centos-Fedora

Install VLC Media player on RHEL 6/CentOS 6

All the above steps would be same except the command to install the Epel and rpmfusion. If you are using the RedHat 6 or CentOS 6 version then use the below-given commands to install the VLC media player

yum install
yum install
yum -y install vlc


To install VLC on Fedora 22, 23, 24,25,26,27,28 and 29

The commands are:

Login as root:


In case you have just installed the Fedora and don’t have set the password then use the below command to set it

sudo passwd root

or just emulate your current user to root by this command

sudo su

Now download and install the RPMfusion

dnf install$(rpm -E %fedora).noarch.rpm

Download and Install VLC Media player on Fedora

dnf install vlc

install VLC on Fedora 29

VLC media player installed on Fedora

In this way, you can easily install the VLC media player Redhat Linux or CentOSor Fedora using command terminal.


Other Resources to see:

2 thoughts on “How to download and install VLC media player on RHEL/Centos/Fedora…”

    • The above-given commands to install the VLC player on Fedora 22 will work for other latest version including 29 too.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.