Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
what you don't say is what operating system you're using. if (like me) you're using ubuntu 12.04 lts, this is not surprising: adjustbox appeared latter than the ubuntu release. so tell which version of which os, and someone can make a useful recommendation. – wasteofspace May 29 '13 at 9:55
There really should be some standard way to verify installation. Like post-installation verify type command. but searching around, I found these instructions:… First you need to make sure it was installed fully. Also, you need to show a minimal working example, and the command you used to compile the latex file. – Nasser May 29 '13 at 9:58
This just happen when importing package (\usepackage{adjustbox}). The same code i write work well on Mac but not Ubantu – Sarawut May 29 '13 at 10:01
the difference between macos and ubuntu was exactly why i asked what os you use. ubuntu freezes its offerings (after a lot of testing) when it makes a release; typically, even its texlive-full is pretty conservative, but it's also frozen in time. mactex, otoh, is a "real" full install maintained by texies and released in parallel with tl. which version of ubuntu are you using? (i.e., complete the answer ... for example, i'm using ubuntu 12.04 lts -- it tells me this in /etc/issue) – wasteofspace May 29 '13 at 10:16
@nasser an "installation verify" would need to know what was supposed to be installed. the best evidence for that is what was installed, but you can go back to the source of the installation, unpack it and produce a list: but that's circular ("it installed what it said it was going to install"). in today's world of rapidly changing packages and wildly different ideas of what should be installed, a post-installation test is best done by compiling docs that are needed ... as sarawut has done. – wasteofspace May 29 '13 at 10:20

4 Answers 4

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 or 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.

share|improve this answer
Thank you very much for all suggestions. It's work now. I follow the instruction from here…. – Sarawut May 30 '13 at 7:54

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
share|improve this answer
That worked in Ubuntu trusty tahr 14.04 LTS also - thanks! – nealmcb Apr 9 at 23:31

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
share|improve this answer

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
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.