Whatbox Logo

Wiki > MKVToolNix

MKVToolNix is a set of tools to create, alter and inspect Matroska files.

Install

  1. Connect to your slot through SSH

  2. Download the source tarball

     wget https://mkvtoolnix.download/sources/mkvtoolnix-58.0.0.tar.xz
    
  3. Extract the archive

     tar xvf mkvtoolnix-58.0.0.tar.xz
    
  4. Navigate to the newly created folder

     cd mkvtoolnix-58.0.0
    
  5. Configure the program

     ./configure --prefix=$HOME
    
  6. Compile and install the program. This command will take some time to run.

     rake; rake install
    
  7. Clean up source files

     cd ../; rm -r mkvtoolnix-*
    
  8. Add the ~/bin directory to your PATH (if you've done this previously, you do not need to do it again)

     echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
    

You can now use MKVToolNix's commands like mkvmerge and mkvextract You can view MKVToolNix's documentation for more information.