How To Install texvc on Debian 9

In this tutorial we learn how to install texvc on Debian 9. texvc is validates and converts LaTeX expressions into HTML, MathML or PNG

Introduction

In this tutorial we learn how to install texvc on Debian 9.

What is texvc

texvc is:

texvc takes LaTeX-compatible equations and produces formatted output in HTML, MathML, and (via LaTeX/dvipng) rasterized PNG images.

Input data is parsed and scrutinized for safety, and the output includes an estimate of whether the code is simple enough that HTML rendering will look acceptable.

texvc was written for math support in MediaWiki, but can be used standalone.

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

Install texvc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install texvc

Install texvc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texvc

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

sudo aptitude -y install texvc

How To Uninstall texvc on Debian 9

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

sudo apt-get remove texvc

Uninstall texvc And Its Dependencies

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

sudo apt-get -y autoremove texvc

Remove texvc Configurations and Data

To remove texvc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge texvc

Remove texvc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge texvc

Dependencies

texvc have the following dependencies:

References

Summary

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