How To Install rubber on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install rubber on Ubuntu 18.04.

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.

graphics conversion: imagemagick and/or sam2p

aleph, metapost: texlive-binaries

pythontex: texlive-extra-utils

cweb, minitoc, moreverb, multibib, nomencl, ntheorem: texlive-latex-extra

beamer, index, listings: texlive-latex-recommended

omega: texlive-omega

gnuplottex: texlive-pictures

conversion from XFig format: transfig

There are three methods to install rubber 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 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 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 rubber using aptitude by running the following command:

sudo aptitude -y install rubber

How To Uninstall rubber on Ubuntu 18.04

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 Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove rubber

Remove rubber Configurations and Data

To remove rubber configuration and data from Ubuntu 18.04 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

References

Summary

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