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.
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.
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.
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.