I have just downloaded texmaker to make a local copy of a tex file from overleaf but when I try to generate the pdf I get the following error
Latex Error: File 'algorithm.sty' not found.
My computer runs Ubuntu a fix online says to run the following command in the terminal
sudo apt-get install texlive-science
That hasn't worked either.
If anyone can help that would be much appreciated thank you
Best Answer
I was having the same issue and installing texlive-science package solved the issue:
sudo apt-get update -y
sudo apt-get install -y texlive-science