How To Install texlive-plain-generic on Ubuntu 18.04

In this tutorial we learn how to install texlive-plain-generic on Ubuntu 18.04. texlive-plain-generic is TeX Live

Introduction

In this tutorial we learn how to install texlive-plain-generic on Ubuntu 18.04.

What is texlive-plain-generic

texlive-plain-generic is:

Add-on packages and macros that work with plain TeX, often LaTeX, and occasionally other formats.

This package includes the following CTAN packages:

abbr – Simple macros supporting abreviations for Plain and LaTeX

abstyles – Adaptable BibTeX styles

apnum – Arbitrary precision numbers implemented by TeX macros

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

epsf – Simple macros for EPS inclusion

epsf-dvipdfmx – Plain TeX file for using epsf.tex with (x)dvipdfmx

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

figflow – Flow text around a figure

fixpdfmag – Fix magnification in pdfTeX

fltpoint – Simple floating point arithmetic

fntproof – A programmable font test pattern generator

font-change – Macros to change text and mathematics fonts in plain TeX

fontch – Changing fonts, sizes and encodings in Plain TeX

fontname – Scheme for naming fonts in TeX

gates – Support for writing modular and customisable code

genmisc – numerous one-file packages that work with both plain TeX and LaTeX

getoptk – Define macros with sophisticated options

gfnotation – Typeset Gottlob Frege’s notation in plain TeX

gobble – More gobble macros for PlainTeX and LaTeX

graphics-pln – LaTeX-style graphics for Plain TeX users

gtl – Manipulating generalized token lists

hlist – Horizontal and columned lists

hyplain – Basic support for multiple languages in Plain TeX

ifetex – Provides \ifetex switch

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

insbox – Insert pictures/boxes into paragraphs

js-misc – Miscellaneous macros from Joachim Schrod

kastrup – Convert numbers into binary, octal and hexadecimal

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

mkpattern – A utility for making hyphenation patterns

multido – A loop facility for Generic TeX

navigator – PDF features across formats and engines

newsletr – Macros for making newsletters with Plain TeX

ofs – Macros for managing large font collections

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

path – Typeset paths, making them breakable

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

pitex – Documentation macros

placeins-plain – Insertions that keep their place

plainpkg – A minimal method for making generic packages

plipsum – ‘Lorem ipsum’ for Plain TeX developers

plnfss – Font selection for Plain TeX

plstmary – St. Mary’s Road font support for plain TeX

present – Presentations with Plain TeX

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

resumemac – Plain TeX macros for resumes

schemata – Print topical diagrams

shade – Shade pieces of text

simplekv – A simple key/value system for TeX and LaTeX

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

tex-ps – TeX to PostScript generic macros and add-ons

tex4ht – Convert (La)TeX to HTML/XML

texapi – Macros to write format-independent packages

timetable – Generate timetables

tracklang – Language and dialect tracker

treetex – Draw trees

trigonometry – Demonstration code for cos and sin in TeX macros

ulem – Package for underlining

upca – Print UPC-A barcodes

varisize – Change font size in Plain TeX

xii – Christmas silliness (English)

xii-lat – Christmas silliness (Latin)

xlop – Calculates and displays arithmetic operations

yax – Yet Another Key System

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

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

Install texlive-plain-generic Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-plain-generic

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

sudo aptitude -y install texlive-plain-generic

How To Uninstall texlive-plain-generic on Ubuntu 18.04

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

sudo apt-get remove texlive-plain-generic

Uninstall texlive-plain-generic And Its Dependencies

To uninstall texlive-plain-generic and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

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

Remove texlive-plain-generic Configurations and Data

To remove texlive-plain-generic configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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