How To Install texlive-generic-extra on Debian 9

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

Introduction

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

What is texlive-generic-extra

texlive-generic-extra is:

Extra packages that work with multiple formats, typically both TeX and LaTeX.

This package includes the following CTAN packages:

abbr – Simple macros supporting abreviations for Plain and LaTeX

abstyles – Adaptable BibTeX styles

autoaligne – Align terms and members in math expressions>

barr – Diagram macros by Michael Barr

bitelist – Split list, in TeX’s mouth

borceux – Diagram macros by Francois Borceux

c-pascal – Typeset Python, C and Pascal programs

catcodes – Generic handling of TeX category codes

chronosys – Drawing time-line diagrams

colorsep – Color separation

dinat – Bibliography style for German texts

dirtree – Display trees in the style of windows explorer

docbytex – Creating documentation from source code

dowith – Apply a command to a list of items

eijkhout – Victor Eijkhout’s packages

encxvlna – Insert nonbreakable spaces, using encTeX

epigram – Display short quotations

fenixpar – One-shot changes to token registers such as \everypar

fltpoint – Simple floating point arithmetic

fntproof – A programmable font test pattern generator

gates – Support for writing modular and customisable code

gobble – More gobble macros for PlainTeX and LaTeX

gtl – Manipulating generalized token lists

ifetex – Provides \ifetex switch

iftex – Am I running under pdfTeX, XeTeX or LuaTeX?

insbox – Insert pictures/boxes into paragraphs

lambda-lists – Lists in TeX’s mouth

langcode – Simple language-dependent settings based on language codes

lecturer – On-screen presentations for (almost) all formats

librarian – Tools to create bibliographies in TeX

listofitems – Grab items in lists using user-specified sep char

mathdots – Commands to produce dots in math that respect font size

metatex – Incorporate Metafont pictures in TeX source

midnight – A set of useful macro tools

navigator – PDF features across formats and engines

ofs – Macros for managing large font collections

olsak-misc – collection with plain TeX macros written by Petr Olsak

pdf-trans – A set of macros for various transformations of TeX boxes

plainpkg – A minimal method for making generic packages

randomlist – Deal with database, loop, and random in order to build personalized exercises.

schemata – Print topical diagrams

shade – Shade pieces of text

systeme – Format systems of equations

tabto-generic – “Tab” to a measured position in the line

termmenu – The package provides support for terminal-based menus using expl3

tracklang – Language and dialect tracker

trigonometry – Demonstration code for cos and sin in TeX macros

texapi – Macros to write format-independent packages

upca – Print UPC-A barcodes

xlop – Calculates and displays arithmetic operations

yax – Yet Another Key System

There are three methods to install texlive-generic-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-generic-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-generic-extra using apt-get by running the following command:

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

Install texlive-generic-extra Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-generic-extra

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

sudo aptitude -y install texlive-generic-extra

How To Uninstall texlive-generic-extra on Debian 9

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

sudo apt-get remove texlive-generic-extra

Uninstall texlive-generic-extra And Its Dependencies

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

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

Remove texlive-generic-extra Configurations and Data

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

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

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

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

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

Dependencies

texlive-generic-extra have the following dependencies:

References

Summary

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