Installing VLC Media Player on RHEL 9: Step-by-Step Guide

mdshamsfiroz
4 min readOct 21, 2024

--

Prerequisites:

Before you can install VLC on your RHEL 9 system, it’s important to make sure your system is ready.

Step 1: Get a Free Red Hat Subscription

To gain access to Red Hat’s repositories and software packages, you’ll need a Red Hat subscription. Red Hat offers a no-cost subscription through their Developer program.

  1. Head over to the Red Hat Developer program registration page.
  2. Sign up for a free account by filling out the required details.
  3. Once you’ve successfully registered and logged in, you’ll be provided with a free subscription. This subscription is necessary for accessing Red Hat’s software repositories, which is crucial for installing packages on RHEL 9.

Step 2: Register Your System with Red Hat

After securing your free subscription, the next step is to register it on your RHEL 9 system.

Run the following command:

subscription-manager register --username <your-username> --password <your-password> --auto-attach

This command will associate your system with your Red Hat subscription, giving you access to the necessary repositories for software installation.

Step 3: Activate the ‘codeready-builder-for-rhel-9-x86_64-rpms’ Repository

subscription-manager register --username <username> --password <password> --auto-attach

This command will link your system to your Red Hat subscription, allowing you to access the required repositories for software installation.

Step 3: Enable the ‘codeready-builder-for-rhel-9-x86_64-rpms’ Repository

sudo subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms

Step 4: Install the EPEL Repository for RHEL 9

The EPEL (Extra Packages for Enterprise Linux) repository provides additional packages not included in the default RHEL repositories.

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Step 5: Install RPM Fusion Repositories

RPM Fusion is a third-party repository that offers a wide variety of multimedia software and codecs.

sudo dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-9.noarch.rpm

Step 6: Update Your Package Manager

Before installing VLC, it’s essential to ensure your system’s package information is up-to-date.

dnf upgrade

This will synchronize your package manager with the latest updates and package information.

Step 7: Install VLC Player

Finally, you can install VLC player and its dependencies:

dnf install vlc

After completing these steps, you will have VLC player installed on your RHEL 9 system and ready to use for playing multimedia content.

Using these prerequisites, you can enjoy VLC on RHEL 9 and experience its versatile multimedia capabilities.

So, whether you’re a tech enthusiast, a professional, or just someone who wants to learn more, I invite you to follow me on this journey. Subscribe to my blog and follow me on social media to stay in the loop and never miss a post.

Together, let’s explore the exciting world of technology and all it offers. I can’t wait to connect with you!”

Connect me on Social Media: https://linktr.ee/mdshamsfiroz

Happy coding! Happy learning!

--

--

mdshamsfiroz
mdshamsfiroz

Written by mdshamsfiroz

Trying to learn tool by putting heart inside to make something

Responses (1)