How To Install texlive-latex-recommended on Kali Linux

In this tutorial we learn how to install texlive-latex-recommended on Kali Linux. texlive-latex-recommended is TeX Live

Introduction

In this tutorial we learn how to install texlive-latex-recommended on Kali Linux.

texlive-latex-recommended is:

A collection of recommended add-on packages for LaTeX which have widespread use, and the release candidate formats latex-dev, etc.

This package includes the following CTAN packages:

anysize – A simple package to set up document margins

attachfile2 – Attach files into PDF

beamer – A LaTeX class for producing presentations and slides

booktabs – Publication quality tables in LaTeX

breqn – Automatic line breaking of displayed equations

caption – Customising captions in floating environments

cite – Improved citation handling in LaTeX

cmap – Make PDF files searchable and copyable

crop – Support for cropmarks

ctable – Flexible typesetting of table and figure floats using key/value directives

eso-pic – Add picture commands (or backgrounds) to every page

etoolbox – e-TeX tools for LaTeX

euenc – Unicode font encoding definitions for XeTeX

euler – Use AMS Euler fonts for math

everysel – Provides hooks into \selectfont

everyshi – Take action at every \shipout

extsizes – Extend the standard classes’ size options

fancybox – Variants of \fbox and other games with boxes

fancyref – A LaTeX package for fancy cross-referencing

fancyvrb – Sophisticated verbatim text

filehook – Hooks for input files

float – Improved interface for floating objects

fontspec – Advanced font selection in XeLaTeX and LuaLaTeX

footnotehyper – hyperref aware footnote.sty

fp – Fixed point arithmetic

grffile – Extended file name support for graphics (legacy package)

hologo – A collection of logos with bookmark support

index – Extended index for LaTeX including multiple indexes

infwarerr – Complete set of information/warning/error message macros

jknapltx – Miscellaneous packages by Joerg Knappen

koma-script – A bundle of versatile classes and packages

l3experimental – Experimental LaTeX3 concepts

latexbug – Bug-classification for LaTeX related bugs

lineno – Line numbers on paragraphs

listings – Typeset source code listings using LaTeX

lwarp – Converts LaTeX to HTML

mathspec – Specify arbitrary fonts for mathematics in XeTeX

mathtools – Mathematical tools to use with amsmath

mdwtools – Miscellaneous tools by Mark Wooding

memoir – Typeset fiction, non-fiction and mathematical books

metalogo – Extended TeX logo macros

microtype – Subliminal refinements towards typographical perfection

ms – Various LaTeX packages by Martin Schroder

newfloat – Define new floating environments

ntgclass – “European” versions of standard classes

parskip – Layout with zero \parindent, non-zero \parskip

pdflscape – Make landscape pages display as landscape

pdfpages – Include PDF documents in LaTeX

pdftexcmds – LuaTeX support for pdfTeX utility functions

polyglossia – An alternative to babel for XeLaTeX and LuaLaTeX

psfrag – Replace strings in encapsulated PostScript figures

ragged2e – Alternative versions of “ragged”-type commands

rcs – Use RCS (revision control system) tags in LaTeX documents

sansmath – Maths in a sans font

section – Modifying section commands in LaTeX

seminar – Make overhead slides

sepnum – Print numbers in a “friendly” format

setspace – Set space between lines

subfig – Figures broken into subfigures

textcase – Case conversion ignoring mathematics, etc

thumbpdf – Thumbnails for pdfTeX and dvips/ps2pdf

translator – Easy translation of strings in LaTeX

typehtml – Typeset HTML directly from LaTeX

ucharcat – Implementation of the (new in 2015) XeTeX \Ucharcat command in lua, for LuaTeX

underscore – Control the behaviour of “_” in text

unicode-math – Unicode mathematics support for XeTeX and LuaTeX

xcolor – Driver-independent color extensions for LaTeX and pdfLaTeX

xkeyval – Extension of the keyval package

xltxtra – “Extras” for LaTeX users of XeTeX

xunicode – Generate Unicode characters from accented glyphs

There are three methods to install texlive-latex-recommended on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

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

sudo apt-get update

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

sudo apt-get -y install texlive-latex-recommended

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-latex-recommended

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install texlive-latex-recommended using aptitude by running the following command:

sudo aptitude -y install texlive-latex-recommended

To uninstall only the texlive-latex-recommended package we can use the following command:

sudo apt-get remove texlive-latex-recommended

To uninstall texlive-latex-recommended and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove texlive-latex-recommended

To remove texlive-latex-recommended configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge texlive-latex-recommended

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

sudo apt-get -y autoremove --purge texlive-latex-recommended

Dependencies

texlive-latex-recommended have the following dependencies:

References

Summary

In this tutorial we learn how to install texlive-latex-recommended package on Kali Linux using different package management tools: apt, apt-get and aptitude.