28

I have installed TexLive on Ubuntu 13.04 following the instructions provided in http://www.tug.org/texlive/acquire.html

but I always get some missing .sty error (for instance siunitx.sty). I struggled a lot to make it run. double checked the PATH, etc. but could not figure out the problem. do you know what the problem can be?

Best Mehdi

M.X
  • 383
  • 1
  • 3
  • 5

1 Answers1

51

The siunitx.sty file appears to be part of package texlive-science

$ apt-cache show texlive-science | grep siunitx
  siunitx -- A comprehensive (SI) units package.

You should be able to install it from your package manager of choice, or via the command line using

$ sudo apt-get install texlive-science
steeldriver
  • 131,985
  • 21
  • 239
  • 326
  • `texlive-science` seems no longer to be available, and `siunitx.sty` is not in `texlive-latex-extra` despite the following message: "Package texlive-science is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: texlive-latex-extra" – Reb.Cabin Apr 26 '19 at 16:28
  • @Reb.Cabin what is your Ubuntu version? There appears to still be [texlive-science in disco](https://packages.ubuntu.com/disco/texlive-science) – steeldriver Apr 26 '19 at 16:33
  • 18.04. I'm trying a `texlive-full` reinstall now. – Reb.Cabin Apr 26 '19 at 16:56
  • This solution helped me find the missing `fourier.sty` file. Using the same technique as: `texlive-fonts | grep fourier`. As a result, `apt-cache` then found `texlive-fonts-extra` package and `grep` found `fourier.sty` within the output. Therefore, I installed the missing .sty via `apt-get install `. – pds May 27 '20 at 11:50