How To Install latex209-src on Ubuntu 18.04

In this tutorial we learn how to install latex209-src on Ubuntu 18.04. latex209-src is source files of macros of LaTeX 2.09 25-mar-1992 version

Introduction

In this tutorial we learn how to install latex209-src on Ubuntu 18.04.

What is latex209-src

latex209-src is:

LaTeX 2.09 is obsolete. Use LaTeX 2e. This package is for those who want to use old style files. You don’t need to install this package to use latex209.

There are three methods to install latex209-src 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 latex209-src Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install latex209-src

Install latex209-src Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install latex209-src

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

sudo aptitude -y install latex209-src

How To Uninstall latex209-src on Ubuntu 18.04

To uninstall only the latex209-src package we can use the following command:

sudo apt-get remove latex209-src

Uninstall latex209-src And Its Dependencies

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

sudo apt-get -y autoremove latex209-src

Remove latex209-src Configurations and Data

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

sudo apt-get -y purge latex209-src

Remove latex209-src configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge latex209-src

References

Summary

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