FedoraRHEL Based

How To Install HandBrake on Fedora 40

Install HandBrake on Fedora 40

In this tutorial, we will show you how to install HandBrake on Fedora 40. HandBrake is a powerful, open-source video transcoder that allows you to convert video files from nearly any format to a selection of modern, widely supported codecs. Whether you need to optimize videos for streaming, create backups of your DVD collection, or prepare files for editing, HandBrake offers a versatile and customizable solution. This cross-platform application is available for Linux, Windows, and macOS, making it an essential tool for multimedia enthusiasts and professionals alike.

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 HandBrake video transcoder on Fedora 40.

Prerequisites

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 HandBrake on Fedora 40

Step 1. Update the System.

Before installing HandBrake, it’s crucial to update your Fedora 40 system packages to ensure that you have the latest versions available. Updating the system packages helps to address any security vulnerabilities and compatibility issues that may exist in older versions. To update your system packages, open a terminal and run the following command:

sudo dnf clean all
sudo dnf update

The package manager will retrieve the latest package information and prompt you to confirm the update. Press “y” and hit Enter to proceed with the update process. Depending on the number of updates available, this step may take a few minutes to complete.

Step 2. Installing HandBrake on Fedora 40.

  • Method 1. Installing HandBrake using Flatpak.

For desktop users who prefer a graphical interface, the recommended way to install HandBrake on Fedora 40 is through Flatpak, a modern application distribution framework that provides sandboxed, isolated environments for applications.

Flatpak offers several benefits, including improved security, easier updates, and better compatibility across different Linux distributions. Here’s how you can install the HandBrake GUI using Flatpak:

sudo dnf install flatpak

Next, enable the Flathub repository, which hosts the HandBrake Flatpak package:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Now, you can install the HandBrake GUI Flatpak package:

flatpak install flathub fr.handbrake.ghb

Once the installation is complete, you can launch the HandBrake GUI by running:

flatpak run fr.handbrake.ghb

Install HandBrake on Fedora 40

  • Method 2. Building HandBrake from Source.

While the Flatpak packages provide a convenient and hassle-free installation experience, some users may prefer to build HandBrake from the source. Building from source offers several advantages, including access to the latest features, optimizations, and the ability to customize the build process to suit your specific requirements.

First, install the necessary build dependencies:

sudo dnf install git intltool perl-XML-LibXML nasm wget gcc-c++ cmake ninja-build

Clone the HandBrake Git repository:

git clone https://github.com/HandBrake/HandBrake.git

Navigate to the HandBrake directory and configure the build:

cd HandBrake
./configure --prefix=/usr --disable-gtk --disable-gtk-update-checks

Compile HandBrake:

make -j$(nproc)

Install HandBrake:

sudo make install

During the build process, you may encounter errors or issues related to missing dependencies or compatibility problems. Refer to the official HandBrake documentation, and community forums, or seek assistance from experienced Fedora users for troubleshooting guidance.

Congratulations! You have successfully installed HandBrake. Thanks for using this tutorial for installing the HandBrake video transcoder on Fedora 40. system. For additional help or useful information, we recommend you check the HandBrake 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

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button