How To Install untex on Debian 11

In this tutorial we learn how to install untex on Debian 11. untex is remove LaTeX commands from input

Introduction

In this tutorial we learn how to install untex on Debian 11.

What is untex

untex is:

The program will remove ??some LaTeX commands?? from a file (it will optionally try to strip out all mathematics, too). It also has an option to honour \input and \include commands in the file. Input is read from files and results are sent to stdout.

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

Install untex Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install untex

Install untex Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install untex

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

sudo aptitude -y install untex

How To Uninstall untex on Debian 11

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

sudo apt-get remove untex

Uninstall untex And Its Dependencies

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

sudo apt-get -y autoremove untex

Remove untex Configurations and Data

To remove untex configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge untex

Remove untex configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge untex

Dependencies

untex have the following dependencies:

References

Summary

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