How To Install rubber on Kali Linux

In this tutorial we learn how to install rubber on Kali Linux. rubber is automated system for building LaTeX documents

Introduction

In this tutorial we learn how to install rubber on Kali Linux.

What is rubber

rubber is:

This is a building system for LaTeX documents. It is based on a routine that runs just as many compilations as necessary. The module system provides a great flexibility that virtually allows support for any package with no user intervention, as well as pre- and post-processing of the document. The standard modules currently provide support for bibtex, dvips, dvipdfm, pdftex, makeindex. A good number of standard packages are supported, including graphics/graphicx with automatic conversion between various graphics formats and Metapost compilation.

Some optional parts require the installation of suggested Debian packages: imagemagick (graphics conversion), r-cran-knitr, texlive-bibtex-extra (biblatex), texlive-binaries (aleph), texlive-latex-extra (cweb, minitoc, moreverb, multibib, nomencl, ntheorem), texlive-latex-recommended (beamer, index, listings), texlive-pictures (gnuplottex), transfig (conversion from XFig format).

pythontex from texlive-extra-utils requires python3-prompt-toolkit and python3-pygments.

There are three methods to install rubber 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.

Install rubber Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install rubber

Install rubber Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install rubber

Install rubber Using aptitude

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

sudo aptitude -y install rubber

How To Uninstall rubber on Kali Linux

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

sudo apt-get remove rubber

Uninstall rubber And Its Dependencies

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

sudo apt-get -y autoremove rubber

Remove rubber Configurations and Data

To remove rubber configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge rubber

Remove rubber configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rubber

Dependencies

rubber have the following dependencies:

References

Summary

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