How To Install aft on Ubuntu 20.04

In this tutorial we learn how to install aft on Ubuntu 20.04. aft is free form document preparation system

Introduction

In this tutorial we learn how to install aft on Ubuntu 20.04.

What is aft

aft is:

AFT is a document preparation system. It is mostly free form meaning that there is little intrusive markup. AFT source documents look a lot like plain old ASCII text.

AFT has a few rules for structuring your document and these rules have more to do with formatting your text rather than embedding commands.

Right now, AFT produces pretty good (weblint-able) HTML, XHTML, LaTeX, lout and RTF. It can, in fact, be coerced into producing all types of output (e.g. roll-your-own XML). All that needs to be done is to edit a rule file. You can even customize your own HTML rule files for specialized output.

There are three methods to install aft on Ubuntu 20.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 aft Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install aft using apt-get by running the following command:

sudo apt-get -y install aft

Install aft Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install aft using apt by running the following command:

sudo apt -y install aft

Install aft 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 aft using aptitude by running the following command:

sudo aptitude -y install aft

How To Uninstall aft on Ubuntu 20.04

To uninstall only the aft package we can use the following command:

sudo apt-get remove aft

Uninstall aft And Its Dependencies

To uninstall aft and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove aft

Remove aft Configurations and Data

To remove aft configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge aft

Remove aft configuration, data, and all of its dependencies

We can use the following command to remove aft configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge aft

References

Summary

In this tutorial we learn how to install aft package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.