mpgtx command not found

In this troubleshooting guide we learn how to fix mpgtx command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mpgtx: command not found

or when using sudo you get the following error message

sudo: mpgtx: command not found

Solutions to mpgtx: command not found

How To Fix mpgtx: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mpgtx is provided by mpgtx package.

mpgtx is:

mpgtx is a tool to manipulate MPEG files. Its features include the following:

  • mpgtx can currently split and join MPEG 1 video files and most MPEG audio files.
  • mpgtx can fetch detailed information from MPEG 1 and MPEG 2.
  • mpgtx can demultiplex MPEG 1 and MPEG 2 files (System layer, Program layer and Transport Layer).
  • mpgtx can add, remove and edit ID3 tags from mp3 files and rename mp3 files according to their ID3 tags. It reads and writes ID3v1, but only reads ID3v2.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mpgtx

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mpgtx.

sudo apt -y install mpgtx

Or if you have aptitude installed you can use the following command.

sudo aptitude install mpgtx

Summary

In this tutorial we learn how to fix mpgtx command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.