How to Uninstall and Install hnb Ubuntu 22.04

Updated: September 3, 2022

Hnb is an ncurses program to organize many kinds of data in one place, for example addresses, todo lists, ideas, book reviews or to store snippets of brainstorming, to make a structured packing list or just to take random notes. It can export ascii, html and xml, supports todo checkboxes, checkbox trees with percentages, priorities, preferences, searching and more. I will show you how to install hnb on Ubuntu 22.04 in this tutorial.

Requirements to install

  • Operating system: hnb needs Ubuntu 22.04 to work
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install hnb on Ubuntu 22.04

Install hnb Ubuntu 22.04

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

Install hnb using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install hnb on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. 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 hnb Ubuntu by pasting this command into the terminal and executing it.

sudo apt-get -y install hnb

Install hnb using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt -y install aptitude

After installing aptitude, you can now install hnb by following these steps:

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

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install hnb Ubuntu by executing this command in the terminal.

sudo aptitude -y install hnb

Uninstall hnb 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 hnb, can be easily uninstalled by anyone.

If you installed hnb using APT or Aptitude, you could uninstall hnb on Ubuntu by running this command

sudo apt remove --auto-remove hnb

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

sudo apt autoremove --purge hnb


In this guide, I showed you ways to install hnb on Ubuntu 22.04 and ways to uninstall hnb too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.