Introduction
In this tutorial we learn how to install ancient
on Ubuntu 22.04.
What is ancient
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.
There are three methods to install ancient
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ancient Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ancient
using apt-get
by running the following command:
sudo apt-get -y install ancient
Install ancient Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ancient
using apt
by running the following command:
sudo apt -y install ancient
Install ancient Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ancient
using aptitude
by running the following command:
sudo aptitude -y install ancient
How To Uninstall ancient on Ubuntu 22.04
To uninstall only the ancient
package we can use the following command:
sudo apt-get remove ancient
Uninstall ancient And Its Dependencies
To uninstall ancient
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove ancient
Remove ancient Configurations and Data
To remove ancient
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge ancient
Remove ancient configuration, data, and all of its dependencies
We can use the following command to remove ancient
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ancient
References
Summary
In this tutorial we learn how to install ancient
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.