How To Install texlive-binaries on Ubuntu 18.04

In this tutorial we learn how to install texlive-binaries on Ubuntu 18.04. texlive-binaries is Binaries for TeX Live

Introduction

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

What is texlive-binaries

texlive-binaries is:

This package contains all the binaries of TeX Live packages.

Note that this package alone has hardly any functionality. Rather, choose the texlive-* packages you want to use, e.g. texlive-latex-recommended or context

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

sudo apt-get -y install texlive-binaries

Install texlive-binaries Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-binaries

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

sudo aptitude -y install texlive-binaries

How To Uninstall texlive-binaries on Ubuntu 18.04

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

sudo apt-get remove texlive-binaries

Uninstall texlive-binaries And Its Dependencies

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

sudo apt-get -y autoremove texlive-binaries

Remove texlive-binaries Configurations and Data

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

sudo apt-get -y purge texlive-binaries

Remove texlive-binaries configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge texlive-binaries

References

Summary

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