aft command not found

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

Introduction

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

aft: command not found

or when using sudo you get the following error message

sudo: aft: command not found

Solutions to aft: command not found

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

In Ubuntu aft is provided by aft package.

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.

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

sudo apt-get -y install aft

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

You can also use apt command to install aft.

sudo apt -y install aft

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

sudo aptitude install aft

Summary

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