This question already has an answer here:
I have spent quite a few hours researching how to do this, but still cannot understand how to add a missing
.sty file on my linux mint machine.
I have installed texlive by:
sudo apt install texlive-latex-base
I then tried to compile my .tex document:
I got the error message that the endfloat.sty is missing.
So I tried to install it, by first trying to find where my sty files are:
, then after a bit of searching I found the other
.sty files are in their own directories within
I tried to make a path then to put my missing
.sty file in using the sudo command:
sudo mkdir endfloat
which made the directory
I changed into that directory, and then did
sudo wget https://mirror.hmc.edu/ctan/obsolete/macros/latex209/contrib/misc/endfloat.sty
But when I reran:
Still it did not compile because it says the
.sty file is missing.