rmt-tar command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rmt-tar: command not found
or when using sudo you get the following error message
sudo: rmt-tar: command not found
Solutions to rmt-tar: command not found
How To Fix rmt-tar: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rmt-tar is provided by tar package.
tar is:
Tar is a program for packaging a set of files as a single archive in tar format. The function it performs is conceptually similar to cpio, and to things like PKZIP in the DOS world. It is heavily used by the Debian package management system, and is useful for performing system backups and exchanging sets of files with others.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tar
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tar.
sudo apt -y install tar
Or if you have aptitude installed you can use the following command.
sudo aptitude install tar
Summary
In this tutorial we learn how to fix rmt-tar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.