For RHEL/CentOS 7
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
For RHEL/CentOS 6
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
# yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm
For Fedora 27-22
# dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Check the Availability of VLC in RHEL/CentOS/FedoraOnce you’ve all the repositories installed on your system, do the following command to check the availability of VLC player.
yum info vlc
dnf info vlc [On Fedora 26+ releases]
Sample Output :
Last metadata expiration check: 0:32:38 ago on Friday 11 August 2017 12:32:02 PM IST.
Available Packages
Name : vlc
Version : 3.0.0
Release : 0.29.git20170622.fc26
Arch : i686
Size : 2.0 M
Source : vlc-3.0.0-0.29.git20170622.fc26.src.rpm
Repo : rpmfusion-free
Summary : The cross-platform open-source multimedia framework, player and server
URL : http://www.videolan.org
License : GPLv2+
Description : VLC media player is a highly portable multimedia player and multimedia framework
: capable of reading most audio and video formats as well as DVDs, Audio CDs VCDs,
: and various streaming protocols.
: It can also be used as a media converter or a server to stream in uni-cast or
: multi-cast in IPv4 or IPv6 on networks.
Installing VLC Player in RHEL/CentOS/Fedora
As you see the VLC player is available, so install it by running the following command on the terminal.
yum install vlc
dnf install vlc [On Fedora 26+ releases]
Starting VLC Player in RHEL/CentOS/Fedora
Run the following command from the Desktop terminal as normal user to Launch the VLC player. (Note : VLC is not supposed to be run as root user). if you wish, follow this article to run VLC as root user.
$ vlc
Updating VLC Player in RHEL/CentOS/Fedora
If you would like to Update or Upgrade VLC player to latest stable version, use the following command
# yum update vlc
# dnf update vlc [On Fedora 26+ releases]
默认VLC不能在root下启动,修改方法参考https://www.tecmint.com/run-vlc-media-player-as-root-in-linux/
本文参考:https://www.tecmint.com/install-vlc-media-player-in-rhel-centos-fedora/