How To Install hnb on Debian 10

Learn how to install hnb on Debian 10 with this tutorial. hnb is hierarchical notebook

Introduction

In this tutorial we learn how to install hnb on Debian 10.

What is hnb

hnb is:

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.

Hnb is orphaned upstream. Though the current Debian maintainer tries to keep hnb in a usable and releasable state he does not plan to add many new features. If you are interested in hnb and want to become its new upstream maintainer please contact the original author and the Debian maintainer.

Hnb does currently not support UTF-8.

There are three methods to install hnb on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install hnb Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install hnb

Install hnb Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hnb

Install hnb 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install hnb

How To Uninstall hnb on Debian 10

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

sudo apt-get remove hnb

Uninstall hnb And Its Dependencies

To uninstall hnb and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove hnb

Remove hnb Configurations and Data

To remove hnb configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge hnb

Remove hnb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hnb

Dependencies

hnb have the following dependencies:

References

Summary

In this tutorial we learn how to install hnb package on Debian 10 using different package management tools: apt, apt-get and aptitude.