Ubuntu – How to install packages without documentation

12.04aptdocumentation

Stage

I am using Ubuntu 12.04.

I want to install some TexLive packages, but they requires their own documentation packages.

For example:

  • texlive-latex-extra pulls texlive-latex-extra-doc.
  • texlive-pictures pulls texlive-pictures-doc.
  • etc.

Documentation packages are very very heavy, so avoid downloading them results in a faster installation.

Question

How can I install packages without documentation?

Best Answer

In these cases, the -doc packages are not hard dependencies but recommendations. You can make apt not intall these by using:

sudo apt-get --no-install-recommends install texlive-latex-extra
Related Question