How To Install boxes on Ubuntu 22.04

In this tutorial we learn how to install boxes on Ubuntu 22.04. boxes is textmode box- and comment drawing filter

Introduction

In this tutorial we learn how to install boxes on Ubuntu 22.04.

What is boxes

boxes is:

Boxes is extremely configurable filter for adding and removing ASCII art (comments, for example) around chunks of text. Most modern text editors support filtering text through external filters. Boxes is such a filter.

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

Install boxes Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install boxes

Install boxes Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install boxes

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

sudo aptitude update

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

sudo aptitude -y install boxes

How To Uninstall boxes on Ubuntu 22.04

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

sudo apt-get remove boxes

Uninstall boxes And Its Dependencies

To uninstall boxes and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove boxes

Remove boxes Configurations and Data

To remove boxes configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge boxes

Remove boxes configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge boxes

References

Summary

In this tutorial we learn how to install boxes package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.