Ways to Uninstall or Install aha Ubuntu 22.04

Updated: August 31, 2022

aha (ANSI HTML Adapter) converts ANSI colors to HTML, e.g. if you want to publish the output of ls –color=yes, git diff, ccal or htop as static HTML somewhere. In this guide, I will show you ways to install aha Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install aha on Ubuntu 22.04

Install aha Ubuntu 22.04

aha is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install aha using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install aha on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install aha Ubuntu by executing this command in the terminal.

sudo apt-get -y install aha

Install aha using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt -y install aptitude

Then, you can now install aha by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install aha Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install aha

Uninstall aha on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a aha, can be easily uninstalled by anyone.

This command can be used to uninstall aha from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove aha

If you want to uninstall aha and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge aha


In this guide, I showed you ways to install aha on Ubuntu 22.04 and ways to uninstall aha too. Please contact me if you require any assistance. I’d be delighted to respond.