How To Install handbrake-cli on Kali Linux
Introduction
In this tutorial we learn how to install handbrake-cli on Kali Linux.
What is handbrake-cli
handbrake-cli 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 command-line variant, HandBrakeCLI.
There are three methods to install handbrake-cli on Kali Linux. 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-cli Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install handbrake-cli using apt-get by running the following command:
sudo apt-get -y install handbrake-cliInstall handbrake-cli Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install handbrake-cli using apt by running the following command:
sudo apt -y install handbrake-cliInstall handbrake-cli Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install handbrake-cli using aptitude by running the following command:
sudo aptitude -y install handbrake-cliHow To Uninstall handbrake-cli on Kali Linux
To uninstall only the handbrake-cli package we can use the following command:
sudo apt-get remove handbrake-cliUninstall handbrake-cli And Its Dependencies
To uninstall handbrake-cli and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove handbrake-cliRemove handbrake-cli Configurations and Data
To remove handbrake-cli configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge handbrake-cliRemove handbrake-cli configuration, data, and all of its dependencies
We can use the following command to remove handbrake-cli configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge handbrake-cliDependencies
handbrake-cli have the following dependencies:
References
Summary
In this tutorial we learn how to install handbrake-cli package on Kali Linux using different package management tools: apt, apt-get and aptitude.