HandBrake is a free, open-source, multiplatform, multithreaded video transcoder, available for MacOS X, Linux and Windows. The software is licensed under the GNU General Public License Version 2 (GPLv2) so that anyone can download and use HandBrake for free. With the right settings, Handbrake can significantly shrink the file size without losing quality.
This article is going to show you how to install Handbrake on your Ubuntu system. The guide is also applicable to many other Linux distro based on Ubuntu, such as Linux Mint or Pop! OS.
Update all packages
Before installing any new package or application, it is recommended that you update your system. To do this, run the commands below which invoke
apt package manager to fetch a fresh package list from Ubuntu repository.
sudo apt update
Install Handbrake on Ubuntu
Now we can begin installing Handbrake itself, given that the system is properly updated.
If you don't need the absolute latest features of Handbrake, the official Ubuntu repository contains an older, but stable and well-tested version of the software.
Run the following command to install it.
sudo apt install handbrake -y
Install latest Handbrake from PPA
The method described above installs an old, stable Handbrake release which was tested against the specific Ubuntu version you're running.
If you prefer a newer version of Handbrake, you can install the software from its official PPA channel. Run the command below to add Handbrake PPA to your system.
sudo add-apt-repository ppa:stebbins/handbrake-releases
Please answer Yes to any prompt you may see during the installation.
Once the PPA has been added, you have to refresh the system package cache by running.
sudo apt-get update
After that, install both the command-line interface and the GUI of Handbrake using the command below :
sudo apt install handbrake-gtk handbrake-cli -y
Do notice that in the screenshot above, the version number of Handbrake is slightly higher than the ones installed from Ubuntu repository (1.3.3 vs 1.3.1).
Portable HandBrake AppImage
AppImage is a convenient way to run applications in Linux. Simply said, it's a format that allows packaging all dependencies and the software itself into one single, portable executable binary. In other words, if you want to try HandBrake without installing it, AppImage is the way to go.
HandBrake hasn't release an official AppImage build, but fortunately the community has. You can download unofficial HandBrake AppImage at AppRepo. Once you've downloaded the executable, give it permission to run and then actually run it with the following command :
Code language: Shell Session (shell)
chmod +x ./HandBrake.AppImage ./HandBrake.AppImage
We hope that the article helps you successfully set up Handbrake in Ubuntu. You may be interested in our guides to installing software in Ubuntu, including Linux software roundups, including How to Install OpenSSL, ROS Noetic, Vivaldi, Timeshift and uTorrent. If you have any suggestion, please feel free to leave a comment below.