In this tutorial, we will show you how to install VLC Player on AlmaLinux 8. For those of you who didn’t know, 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. VLC is available on all operating systems such as Linux, Windows, Solaris, Android, OS X, Mac, and other operating systems that support VLC players.
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 VLC Media Player on an AlmaLinux 8. You can follow the same instructions for CentOS and Rocky Linux.
Prerequisites
- A server running one of the following operating systems: AlmaLinux 8, CentOS, and Rocky Linux 8.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install VLC Player on AlmaLinux 8
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf update sudo dnf install epel-release rpmfusion-free-release
Step 2. Installing VLC Player on AlmaLinux 8.
- Method 1. Installing VLC Using EPEL Repository.
Now we install the VLC media player on your AlmaLinux system to run the following command below:
sudo dnf update sudo dnf install vlc
- Method 2. Installing VLC Using Flatpak
Flatpak is a universal package management system that allows you to install applications in a sandboxed environment. This method is particularly useful if you want to keep VLC isolated from your system packages.
First, install Flatpak:
sudo dnf install flatpak -y
Then, add the Flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Install VLC using Flatpak with the following command:
flatpak install flathub org.videolan.VLC -y
To run VLC installed through Flatpak, use:
flatpak run org.videolan.VLC
Step 3. Accessing VLC Player on AlmaLinux.
Once successfully installed, you will launch a VLC player on the system by executing the following command or going to the Application launcher and searching for this media player. As its icon appears, click to run the same:
vlc
Congratulations! You have successfully installed VLC. Thanks for using this tutorial for installing VLC Media Player on your AlmaLinux 8 system. For additional help or useful information, we recommend you check the official VLC website.