How To Install libmatroska-dev on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libmatroska-dev
on Ubuntu 18.04.
What is libmatroska-dev
libmatroska-dev is:
Matroska is aiming to become the standard of Multimedia Container Formats one day. It is based on EBML (Extensible Binary Meta Language), a kind of binary version of XML. This way the significant advantages in terms of future format extensibility are gained without breaking file support in old parsers.
This package contains the header files and static libraries needed to compile applications that use libmatroska.
There are three methods to install libmatroska-dev
on Ubuntu 18.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 libmatroska-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmatroska-dev
using apt-get
by running the following command:
sudo apt-get -y install libmatroska-dev
Install libmatroska-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmatroska-dev
using apt
by running the following command:
sudo apt -y install libmatroska-dev
Install libmatroska-dev 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 libmatroska-dev
using aptitude
by running the following command:
sudo aptitude -y install libmatroska-dev
How To Uninstall libmatroska-dev on Ubuntu 18.04
To uninstall only the libmatroska-dev
package we can use the following command:
sudo apt-get remove libmatroska-dev
Uninstall libmatroska-dev And Its Dependencies
To uninstall libmatroska-dev
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libmatroska-dev
Remove libmatroska-dev Configurations and Data
To remove libmatroska-dev
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libmatroska-dev
Remove libmatroska-dev configuration, data, and all of its dependencies
We can use the following command to remove libmatroska-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmatroska-dev
References
Summary
In this tutorial we learn how to install libmatroska-dev
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.