ancient command not found

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

Introduction

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

ancient: command not found

or when using sudo you get the following error message

sudo: ancient: command not found

Solutions to ancient: command not found

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

In Ubuntu ancient is provided by ancient package.

ancient is:

This is a collection of decompression routines for old formats popular in the Amiga, Atari computers and some other systems from 80’s and 90’s as well as some that are currently used which were used in a some specific way in these old systems.

For simple usage both a simple command line application as well as a simple API to use the decompressors are provided. The compression algorithm is automatically detected in most cases, however there are some corner cases where it is not entirely reliable due to weaknesses in the old format used.

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

sudo apt-get -y install ancient

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

You can also use apt command to install ancient.

sudo apt -y install ancient

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

sudo aptitude install ancient

Summary

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