How to Install MKVToolNix in Ubuntu
To Install MKVToolNix on Ubuntu
MKVToolNix is a free tool used for manipulating Matroska (mkv) multimedia files. It can be utilized not only for modifying the video files, but also to examine and inspecting them. This tutorial sheds light on the installation process of MKVToolNix on Ubuntu.
Installation of MKVToolNix
The initial procedure to install MKVToolNix is to add the key for downloading it. Use the following command for the same.
root@linuxhelp1:~# wget -q -O - https://www.bunkus.org/gpg-pub-moritzbunkus.txt | sudo apt-key add -
OK
Once the key is added, issue the following command to add the repository.
root@linuxhelp1:~# sudo sh -c ' echo " deb http://www.bunkus.org/ubuntu/xenial/ ./" > > /etc/apt/sources.list'
Invoke the following command to update the newly added repository.
root@linuxhelp1:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:4 http://www.bunkus.org/ubuntu/xenial ./ InRelease
Get:5 http://www.bunkus.org/ubuntu/xenial ./ Release [2,786 B]
Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:7 http://www.bunkus.org/ubuntu/xenial ./ Release.gpg [801 B]
Get:8 http://www.bunkus.org/ubuntu/xenial ./ Packages [17.5 kB]
Fetched 21.1 kB in 1s (12.2 kB/s)
Reading package lists... Done
Now is the time to install MKVToolNix. Use the following command for the same.
root@linuxhelp1:~# apt-get install mkvtoolnix mkvtoolnix-gui Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libboost-regex1.58.0 Suggested packages: mediainfo-gui The following NEW packages will be installed: libboost-regex1.58.0 mkvtoolnix mkvtoolnix-gui 0 upgraded, 3 newly installed, 0 to remove and 416 not upgraded. Need to get 6,693 kB of archives. After this operation, 29.0 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost-regex1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 [261 kB] Get:2 http://www.bunkus.org/ubuntu/xenial ./ mkvtoolnix 9.5.0-0~bunkus01 [4,011 kB] Get:3 http://www.bunkus.org/ubuntu/xenial ./ mkvtoolnix-gui 9.5.0-0~bunkus01 [2,422 kB] Fetched 6,693 kB in 1min 51s (60.1 kB/s) Selecting previously unselected package libboost-regex1.58.0:amd64. (Reading database ... 173836 files and directories currently installed.) Preparing to unpack .../libboost-regex1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ... Unpacking libboost-regex1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ... Selecting previously unselected package mkvtoolnix. Preparing to unpack .../mkvtoolnix_9.5.0-0~bunkus01_amd64.deb ... Unpacking mkvtoolnix (9.5.0-0~bunkus01) ... . . . Processing triggers for gnome-menus (3.13.3-6ubuntu3) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Setting up libboost-regex1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ... Setting up mkvtoolnix (9.5.0-0~bunkus01) ... update-alternatives: using /usr/bin/mkvinfo-text to provide /usr/bin/mkvinfo (mkvinfo) in auto mode Setting up mkvtoolnix-gui (9.5.0-0~bunkus01) ... update-alternatives: using /usr/bin/mkvinfo-gui to provide /usr/bin/mkvinfo (mkvinfo) in auto mode Processing triggers for libc-bin (2.23-0ubuntu3) ...
MKVToolNix is now installed. If you want to access it, type MKVToolNix on the search bar and click on its icon.
MKVToolNix gets launched as below.
To remove MKVToolNix, use the following command.
root@linuxhelp1:~# apt-get remove mkvtoolnix mkvtoolnix-gui -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libboost-regex1.58.0
Use ' sudo apt autoremove' to remove it.
The following packages will be REMOVED:
mkvtoolnix mkvtoolnix-gui
.
.
.
update-alternatives: using /usr/bin/mkvinfo-text to provide /usr/bin/mkvinfo (mkvinfo) in auto mode
Removing mkvtoolnix (9.5.0-0~bunkus01) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Comments ( 1 )