FedoraRHEL Based

How To Install VLC Media Player on Fedora 40

Install VLC Media Player on Fedora 40

In this tutorial, we will show you how to install VLC Media Player on Fedora 40. VLC Media Player is a powerful, versatile, and open-source multimedia player that supports a wide range of audio and video formats. It is known for its ability to play almost any media file, making it a popular choice among users across various platforms, including Linux distributions like Fedora 40.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the VLC Media Player on Fedora 40.


Before we dive into the installation process, ensure that you have the following prerequisites in place:

  • A server running one of the following operating systems: Fedora 40.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • You will need access to the terminal to execute commands. Fedora provides the Terminal application for this purpose. It can be found in your Applications menu.
  • A stable internet connection to download the necessary packages.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install VLC Media Player on Fedora 40

Step 1. Update the System.

Before we begin the installation process, it is essential to ensure that your Fedora 40 system meets the necessary requirements and is up-to-date. VLC Media Player has minimal system requirements, making it compatible with most modern hardware configurations. To update your system, open a terminal and run the following command:

sudo dnf clean all
sudo dnf update

This command will update your system’s package list and upgrade any outdated packages to their latest versions, ensuring that your Fedora 40 installation is current and ready for VLC Media Player.

Step 2. Installing VLC Media Player on Fedora 40.

VLC Media Player is not included in the default Fedora repositories due to licensing restrictions. To install VLC on Fedora 40, we need to add the RPM Fusion repository, which provides a wide range of additional software packages, including multimedia codecs and players.

To add the RPM Fusion Free repository, run the following command in your terminal:

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

If you also require support for non-free codecs and proprietary software, you can optionally add the RPM Fusion Non-Free repository by running:

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

Now that we have added the RPM Fusion repository, installing VLC Media Player on Fedora 40 is a straightforward process. To install VLC, simply run the following command in your terminal:

sudo dnf install vlc

The package manager will resolve any dependencies and install VLC Media Player along with the required packages. Once the installation is complete, you can verify the installation by running:

vlc --version

This command will display the installed version of VLC Media Player, confirming that the installation was successful.

Step 3. Running VLC Media Player on Fedora.

With VLC Media Player installed on your Fedora 40 system, you can now launch it using either the graphical user interface (GUI) or the command line.

To run VLC using the GUI, follow these steps:

    1. Open the application launcher or menu.
    2. Type “vlc” in the search bar.
    3. Click on the VLC Media Player icon to launch the application.

Alternatively, you can run VLC from the command line by opening a terminal and typing:


Install VLC Media Player on Fedora 40

Congratulations! You have successfully installed VLC. Thanks for using this tutorial for installing the VLC Media Player on Fedora 40. system. For additional help or useful information, we recommend you check the VLC website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button