How To Install texlive-lang-spanish on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 414 words
Introduction
In this tutorial we learn how to install texlive-lang-spanish on Ubuntu.
What is texlive-lang-spanish
texlive-lang-spanish is:
Support for Spanish.
This package includes the following CTAN packages:
babel-catalan – Babel contributed support for Catalan
babel-galician – Babel/Polyglossia support for Galician
babel-spanish – Babel support for Spanish
es-tex-faq – CervanTeX (Spanish TeX Group) FAQ
hyphen-catalan – Catalan hyphenation patterns.
hyphen-galician – Galician hyphenation patterns.
hyphen-spanish – Spanish hyphenation patterns.
l2tabu-spanish – Spanish translation of “Obsolete packages and commands”
latex2e-help-texinfo-spanish – Unofficial reference manual covering LaTeX2e
latexcheat-esmx – A LaTeX cheat sheet, in Spanish
lshort-spanish – Short introduction to LaTeX, Spanish translation
texlive-es – TeX Live manual (Spanish)
There are three methods to install texlive-lang-spanish on Ubuntu. 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-lang-spanish 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-lang-spanish using apt-get by running the following command:
sudo apt-get -y install texlive-lang-spanish
Install texlive-lang-spanish Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install texlive-lang-spanish using apt by running the following command:
sudo apt -y install texlive-lang-spanish
Install texlive-lang-spanish 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-lang-spanish using aptitude by running the following command:
sudo aptitude -y install texlive-lang-spanish
How To Uninstall texlive-lang-spanish on Ubuntu
To uninstall only the texlive-lang-spanish package we can use the following command:
sudo apt-get remove texlive-lang-spanish
Uninstall texlive-lang-spanish And Its Dependencies
To uninstall texlive-lang-spanish and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove texlive-lang-spanish
Remove texlive-lang-spanish Configurations and Data
To remove texlive-lang-spanish configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge texlive-lang-spanish
Remove texlive-lang-spanish configuration, data, and all of its dependencies
We can use the following command to remove texlive-lang-spanish configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge texlive-lang-spanish
Dependencies
texlive-lang-spanish have the following dependencies:
References
Summary
In this tutorial we learn how to install texlive-lang-spanish package on Ubuntu using different package management tools: apt, apt-get and aptitude.