How To Install handbrake on Ubuntu 22.04

In this tutorial we learn how to install handbrake on Ubuntu 22.04. handbrake is versatile DVD ripper and video transcoder (GTK+ GUI)

Introduction

In this tutorial we learn how to install handbrake on Ubuntu 22.04.

What is handbrake

handbrake is:

HandBrake is a versatile, easy-to-use tool for converting DVDs and other videos into H.264, XViD, or Ogg formatted media. It’s particularly useful for making videos that are compatible with portable video devices such as the Apple iPod/iPhone or Sony PSP.

This package contains the graphical variant, ghb.

There are three methods to install handbrake on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install handbrake Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install handbrake using apt-get by running the following command:

sudo apt-get -y install handbrake

Install handbrake Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install handbrake using apt by running the following command:

sudo apt -y install handbrake

Install handbrake Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install handbrake using aptitude by running the following command:

sudo aptitude -y install handbrake

How To Uninstall handbrake on Ubuntu 22.04

To uninstall only the handbrake package we can use the following command:

sudo apt-get remove handbrake

Uninstall handbrake And Its Dependencies

To uninstall handbrake and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove handbrake

Remove handbrake Configurations and Data

To remove handbrake configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge handbrake

Remove handbrake configuration, data, and all of its dependencies

We can use the following command to remove handbrake configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge handbrake

References

Summary

In this tutorial we learn how to install handbrake package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.