I have install $ sudo apt-get install texlive-full on Ubuntu 10.04.2 but when I run I got this error about adjustbox.
! LaTeX Error: File `adjustbox.sty' not found
Is there anyone know how to install/fix this error.
I have install $ sudo apt-get install texlive-full on Ubuntu 10.04.2 but when I run I got this error about adjustbox.
! LaTeX Error: File `adjustbox.sty' not found
Is there anyone know how to install/fix this error.
If you didn't (as I didn't) do the full latex installation (3 GB !^oo^!), the answer might be as simple as a
sudo apt-get install texlive-latex-extra
The TeX Live which comes with Ubuntu and Debian doesn't receive updates very often, so it's usually an old TeX Live version which packages can't be directly updated. I, as the adjustbox author, recommend to install the 'vanilla' version of TeX Live, i.e. direct from its website and not the Ubuntu package. Please see Best way to install packages for TeXLive in Ubuntu? for further info. Also How to install "vanilla" TeXLive on Debian or Ubuntu? and Best way to install packages for TeXLive in Ubuntu? should help.
You could also install only adjustbox locally, together with some other of my packages it requires. All of these can be downloaded from http://CTAN.org or http://bitbucket.org/martin_scharrer/. Simply take the TDS ZIP files and unpack them into your local TEXMF tree. See How to install LaTeX .zip package (from CTAN) using texhash on a 'nix system? for the details on that.
If you're on a Mac with BasicTex installed and receive this error, you need to install some extra Tex packages. Use tlmgr.
sudo tlmgr install adjustbox
I also had to install some more packages which I assume you will have to too:
sudo tlmgr install collectbox
sudo tlmgr install ucs
if you use:
sudo apt-get install texlive-latex-extra
you will download about 600 MB (because apt-get by default installs all the recommended packages).
If you want to decrease the download size to about 24 MB, use:
sudo apt-get install --no-install-recommends texlive-latex-extra
By doing this way, you avoid installing some packages (documentation almost) unneeded in order to generate PDF.
Maybe you have to install some extra fonts (if you got ! LaTeX Error: File `eurosym.sty' not found.):
sudo apt-get install --no-install-recommends texlive-fonts-recommended
sudo apt-get install --no-install-recommends texlive-generic-recommended
– Ersin Basaran
Apr 24 '16 at 14:30
adjustboxlocally, together with some other of my packages it requires. All of these can be downloaded from http://CTAN.org or http://bitbucket.org/martin_scharrer/. Simply take the TDS ZIP files and unpack them into your local TEXMF tree. See http://tex.stackexchange.com/q/73016/2975 for further help on that. – Martin Scharrer May 29 '13 at 10:36sudo tlmgr install adjustboxworked fine. I suggest updating question title to not be OS specific. – james-see Oct 11 '18 at 17:59