AMP AMP

How to Install VLC Media Player in Linux

Installation of VLC Media Player in RHEL/CentOS and Fedora

VLC media player is an open source and free simple fast and much powerful cross-platform player. This is a framework for playing most of multimedia files like CD, DVD, VCD, Audio CD and other various supported streaming media protocols. It is available for all operating platforms and other supported operating systems, which was written by the VideoLAN project. Latest VLC media player installation on RHEL, CentOS and Fedora systems using third party repositories with Yum automated package installer is explained in this article.


To Install the RPMFusion Repository in Fedora

The RPMFusion repository comes as pre-installed under Fedora distributions else follow below commands to install and enable it.

On Fedora

# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
# yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm


To Install VLC Media Player

We can install it using third party repositories like Epel, Nux Dextop and automatically update all the packages by using YUM package manager tool.

To Install EPEL and Nux Dextop Repositories in RHEL/CentOS

Using following links, install Epel and Nux Dextop repository for our Linux distributions. Now select and install according to your supported versions.

On RHEL/CentOS

------------------ On 32-Bit Systems ------------------

# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/i386/nux-dextop-release-0-3.el6.nux.noarch.rpm

------------------ On 64-Bit Systems ------------------

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm


To enable epel-repository

[root@linuxhelp ~]# yum install epel-release -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
Resolving Dependencies
-->  Running transaction check
--->  Package epel-release.noarch 0:7-6 will be installed
.
.
.
Installed:
  epel-release.noarch 0:7-6                        
Complete!                                                                   

Now the epel repo is installed successfully.


To enable nux-dextop

[root@linuxhelp ~]# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:nux-dextop-release-0-5.el7.nux   ################################# [100%]


To Check the VLC Availability

Use the following command to check the availability of VLC player.

[root@linuxhelp ~]# yum info vlc
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: mirror.rise.ph
 * extras: centos.excellmedia.net
 * nux-dextop: mirror.li.nux.ro
 * updates: centos.excellmedia.net
Available Packages
Name        : vlc
Arch        : x86_64
Epoch       : 1
Version     : 2.2.2
Release     : 4.el7.nux
Size        : 1.5 M
Repo        : nux-dextop/x86_64
Summary     : The cross-platform open-source multimedia framework, player and server
URL         : http://www.videolan.org
License     : GPLv2+
Description : 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.


To Install the VLC Player

Install the VLC player by running the following command on the terminal.

[root@linuxhelp ~]# yum install vlc -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: epel.mirror.net.in
 * extras: centos.excellmedia.net
 * nux-dextop: mirror.li.nux.ro
 * updates: centos.excellmedia.net
Resolving Dependencies
-->  Running transaction check
--->  Package vlc.x86_64 1:2.2.2-4.el7.nux will be installed
.
.
.
Installed:
  vlc.x86_64 1:2.2.2-4.el7.nux                                                                                        

Complete!


To Start VLC Player

[root@linuxhelp ~]# vlc
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000000c34118] core libvlc: Running vlc with the default interface. Use ' cvlc'  to use vlc without interface.

FAQ
Q
How can I take screenshots in VLC ?
A
To take a snapshot of the video displayed by VLC, you just need to press the pre-defined snapshot hotkey:



Windows/Linux/Unix: Ctrl + Alt + S
Q
How can I convert AVI to MP4 format using VLC?
A
In VLC, Click on the Media menu in VLC, and then click on Convert / Save-> Select the file name ->Select video format and convert.
Q
This doesn’t allow me to play regular DVDs at all, I have tried multiple things to fix this and nothings worked.
A
Whether you have installed stable version or not
Q
Err:15 http://ppa.launchpad.net/videolan/stable-daily/ubuntu artful Release 404 Not Found
A
Make sure Correct PPA is added
Q
How to downlaod and install with .deb package?
A
You can’t download and install .deb VLC package, as it requires lots of dependent packages. The only way you can install it using apt-get method.