How To Install bhl on Debian 10

Learn how to install bhl on Debian 10 with this tutorial. bhl is Emacs mode for converting annotated text to HTML and LaTeX

Introduction

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

What is bhl

bhl is:

BHL is an Emacs mode that enables you to convert text files into HTML, LaTeX and SGML files.

In order to convert TXT files into other formats, you need to use some syntactical elements. The purpose of this mode is to use the most invisible and convenient syntax. Invisible syntax means that the source file must be as readable as possible (like any TXT file must be). Convenient syntax means that the syntax must fit user’s habits.

A more modern alternative is org-mode.

There are three methods to install bhl 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 bhl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install bhl

Install bhl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bhl

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

sudo aptitude -y install bhl

How To Uninstall bhl on Debian 10

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

sudo apt-get remove bhl

Uninstall bhl And Its Dependencies

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

sudo apt-get -y autoremove bhl

Remove bhl Configurations and Data

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

sudo apt-get -y purge bhl

Remove bhl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge bhl

Dependencies

bhl have the following dependencies:

References

Summary

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