How To Install latex-make on Ubuntu 18.04
Introduction
In this tutorial we learn how to install latex-make
on Ubuntu 18.04.
What is latex-make
latex-make is:
This package provides several tools that aim to simplify the compilation of LaTeX documents:
LaTeX.mk: a Makefile snippet to help compiling LaTeX documents in DVI, PDF, PS, … format. Dependencies are automatically tracked: one should be able to compile documents with a one-line Makefile containing ‘include LaTeX.mk’. Complex documents (with multiple bibliographies, indexes, glossaries, …) should be correctly managed.
figlatex.sty: a LaTeX package to easily insert xfig figures (with \includegraphics{file.fig}). It can interact with LaTeX.mk so that the latter automatically invokes transfig if needed.
And various helper tools for LaTeX.mk
There are three methods to install latex-make
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 latex-make Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install latex-make
using apt-get
by running the following command:
sudo apt-get -y install latex-make
Install latex-make Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install latex-make
using apt
by running the following command:
sudo apt -y install latex-make
Install latex-make 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 latex-make
using aptitude
by running the following command:
sudo aptitude -y install latex-make
How To Uninstall latex-make on Ubuntu 18.04
To uninstall only the latex-make
package we can use the following command:
sudo apt-get remove latex-make
Uninstall latex-make And Its Dependencies
To uninstall latex-make
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove latex-make
Remove latex-make Configurations and Data
To remove latex-make
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge latex-make
Remove latex-make configuration, data, and all of its dependencies
We can use the following command to remove latex-make
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge latex-make
References
Summary
In this tutorial we learn how to install latex-make
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.