mt-gnu command not found

In this troubleshooting guide we learn how to fix mt-gnu command not found error message

Introduction

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

mt-gnu: command not found

or when using sudo you get the following error message

sudo: mt-gnu: command not found

Solutions to mt-gnu: command not found

How To Fix mt-gnu: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mt-gnu is provided by cpio package.

cpio is:

GNU cpio is a tool for creating and extracting archives, or copying files from one place to another. It handles a number of cpio formats as well as reading and writing tar files.

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

sudo apt-get -y install cpio

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

You can also use apt command to install cpio.

sudo apt -y install cpio

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

sudo aptitude install cpio

Summary

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