How to Uninstall and Install mkvtoolnix on Ubuntu 22.04

Updated: October 7, 2022

Matroska is a new multimedia container format, based on EBML (Extensible Binary Meta Language), which is a kind of binary XML. These tools allow one to manipulate Matroska files. In this tutorial, I will show you ways to install mkvtoolnix Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 is needed for mkvtoolnix to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install mkvtoolnix on Ubuntu 22.04

Install mkvtoolnix Ubuntu 22.04

mkvtoolnix is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install mkvtoolnix using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install mkvtoolnix on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install mkvtoolnix Ubuntu by executing this command in the terminal.

sudo apt install mkvtoolnix

Install mkvtoolnix using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt install aptitude

After installing aptitude, you can now install mkvtoolnix, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install mkvtoolnix Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install mkvtoolnix

Uninstall mkvtoolnix on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a mkvtoolnix.

If you installed mkvtoolnix using APT or Aptitude, you could uninstall mkvtoolnix on Ubuntu by executing this command

sudo apt remove --auto-remove mkvtoolnix

To uninstall mkvtoolnix and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge mkvtoolnix

Summary

In this guide, I showed you ways to install mkvtoolnix on Ubuntu 22.04 and ways to uninstall mkvtoolnix too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.