Installing LaTeX Packages(LINUX)
3 min readJun 19, 2020
In most cases if not all, we always need packages to run .tex files in TexStudio. We will always import packages with \usepackage{package_name}
function and if the package being imported is not available then the .tex file won’t compile.
In this particular blog we will learn how to install Latex packages in Linux and we will get the packages from CTAN. There are two cases. You may go to CTAN and find:
.ins
file for the package or- zipped file with
.ins
file already build.
Let us talk about the two cases and things will be clear:
Case 1: Downloaded .ins
file for the package
We will use the package multibib
package as an example in this case.
- Download the zipped file of the package from CTAN site and unzip the file into a
multibib folder
.
- Run the latex to build .insfile, that is, run:
latex multibib.ins
- After running that you will have
.sty
file namelymultibib.sty
.Take a look below:
- Make a new directory in your texmf tree so that…