How to Install VLC Media Player in Fedora 40

VLC is a free and open source, popular, and cross-platform multimedia player and framework that plays files, discs, webcams, devices as well as streams.

VLC is the best free multi-format media player for Linux desktop systems, supporting most multimedia files, DVDs, Audio CDs, VCDs, and various streaming protocols such as YouTube.

VLC is a packet-based media player for Linux that plays almost all video content. It plays all formats you can think of; offers advanced controls (complete feature-set over the video, subtitle synchronization, video, and audio filters), and supports advanced formats.

In this article, we will explain how to install the latest version of VLC Media Player in Fedora Linux.

Installing VLC Media Player in Fedora

Before installing VLC, it’s essential to update your Fedora packages to ensure that your system meets the requirements.

sudo dnf update
sudo dnf upgrade

VLC is now available from the default Fedora repositories. Therefore to install it, you just need to use the following dnf command to install the VLC media player as shown.

sudo dnf install vlc

Optionally, to play media files directly in VLC from your browser, you can use extensions such as “Open in VLC” or “Play with VLC“, as these extensions allow you to play media files directly in your browser.

Additionally, you can also install FFmpeg, which handles many video formats and extends VLC’s capabilities.

sudo dnf install ffmpeg-free

After the installation is complete, you can verify that VLC is installed correctly.

vlc --version

To run the VLC media player using GUI, open the launcher by pressing the Super key and type vlc to start it.

Once it has opened, accept the Privacy and Network Access Policy, then click continue to start using VLC on your system.

Alternatively, you can also run vlc from the command line as shown (where the source can be a path to the file to be played, URL, or other data source):

vlc source
Running VLC on Fedora 30
Running VLC on Fedora 30

To ensure you have the latest features and security patches, it’s advisable to keep VLC updated regularly by running:

sudo dnf update
sudo dnf upgrade
Conclusion

VLC is a popular and cross-platform multimedia player and framework that plays most multimedia files and discs, and devices and supports various streaming protocols.

If you have questions, use the feedback form below to ask any questions or share your comments with us.

Two small things before you go

If something didn’t work on your setup, leave a comment and tell me which distro and version you’re on. I read every one, and most of these articles got better because a reader pointed out what was missing.

And if it did work, share it. TecMint has stayed free for 14 years because people pass these articles around, and that traffic is what pays for writing the next one.

Leave a comment
Get two free Linux courses

Learn the Linux basics with two free courses and join 34,000+ readers getting practical TecMint tutorials and selected Pro TecMint articles every week.

Pro TecMint
Get lifetime access for $99

If you want to go beyond the free tutorials, Pro gives you 18 courses, 5 ebooks, and every future course I add. One payment, lifetime access, no renewals.

Aaron Kili
Aaron Kili
Contributor
About the author

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

8 Comments

Leave a Reply
    • @Vincent,

      Thank you for pointing that out.

      In Fedora 40, the package npapi-vlc has been removed, as it’s no longer relevant for Fedora 40.

      For browser integration, consider using a browser extension like “Open in VLC” or “Play with VLC“, as these extensions allow you to play media files directly in VLC from your browser.

      Reply
    • @Ztutoo,

      Thank you for sharing that information! Yes, you’re correct. On Fedora 39 and likely Fedora 40 as well, VLC can be found in the UPDATES repo.

      Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.