How To Install texlive-formats-extra on Debian 9

In this tutorial we learn how to install texlive-formats-extra on Debian 9. texlive-formats-extra is TeX Live

Introduction

In this tutorial we learn how to install texlive-formats-extra on Debian 9.

What is texlive-formats-extra

texlive-formats-extra is:

Collected TeX `formats’, i.e., large-scale macro packages designed to be dumped into .fmt files – excluding the most common ones, such as latex and context, which have their own package(s).

This package includes the following CTAN packages:

edmac – Typeset critical editions

eplain – Extended plain TeX macros

lollipop – TeX made easy

mltex – The MLTeX system

psizzl – A TeX format for physics papers

startex – An XML-inspired format for student use

texsis – Plain TeX macros for Physicists

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

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

sudo apt-get update

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

sudo apt-get -y install texlive-formats-extra

Install texlive-formats-extra Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install texlive-formats-extra using apt by running the following command:

sudo apt -y install texlive-formats-extra

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

sudo aptitude -y install texlive-formats-extra

How To Uninstall texlive-formats-extra on Debian 9

To uninstall only the texlive-formats-extra package we can use the following command:

sudo apt-get remove texlive-formats-extra

Uninstall texlive-formats-extra And Its Dependencies

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

sudo apt-get -y autoremove texlive-formats-extra

Remove texlive-formats-extra Configurations and Data

To remove texlive-formats-extra configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge texlive-formats-extra

Remove texlive-formats-extra configuration, data, and all of its dependencies

We can use the following command to remove texlive-formats-extra configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge texlive-formats-extra

Dependencies

texlive-formats-extra have the following dependencies:

References

Summary

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