How to fix LaTeX error File `siunitx.sty' not found on Ubuntu
Problem:
You want to compile your LaTeX file on Ubuntu using latex
or pdflatex
but you see an error message like this:
siunitx_error.txt
! LaTeX Error: File `siunitx.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
siunitx_error.txt
## Solution
```shell {filename="install_texlive_science.sh"}
sudo apt -y install texlive-science
install_texlive_science.sh
This will install, among many other LaTeX files, `siunitx.sty`.
Check out similar posts by category:
LaTeX
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow