I have a minimal TeX Live installation in ~/texlive/2014.

I was trying to install keyval.sty using tlmgr.

So, I tried,

tlmgr install keyval

But it gives an error:

tlmgr: package repository http://ctan.imsc.res.in/systems/texlive/tlnet

package keyval not present in package repository.

CTAN has the keyval package listed.

Am I doing something wrong? How do I get it right?

  • 2
    There is no keyval TeX Live package; keyval.sty is already part of the standard LaTeX distribution, so you shouldn't need to install it.
    – egreg
    Sep 6, 2014 at 8:18
  • @egreg I installed using minimal scheme (to quicken the installation). I then installed xetex, geometry and latex packages. While compiling a fairly basic file, it gave me an error ! LaTeX Error: File `keyval.sty' not found. So, I went to install keyval
    – deshmukh
    Sep 6, 2014 at 8:27
  • @ChristianHupfer xkeyval does not help either. It still gives the same error.
    – deshmukh
    Sep 6, 2014 at 8:30
  • Also, after the minimal scheme installation, all have done is install theose three packages, run fmtutil --all a few times and tried compiling that simple .tex file
    – deshmukh
    Sep 6, 2014 at 8:30
  • @deshmukh: On a hint by Joseph Wright, on should not recommend xkeyval for some reasons, but I believe, this is not the issue at the moment.
    – user31729
    Sep 6, 2014 at 8:31

1 Answer 1


Using LaTeX (realistically) requires a minimum set of packages in addition to the kernel itself. The team distribute them as required and tools, but there is further sub-division. For example, keyval is part of graphics which is part of required. The easiest way to get the minimum set is to install the collection defined to cover exactly this case

tlmgr install collection-latex

More generally, there is not a one-to-one correspondence between the release name of a package (as on say CTAN) and the TeX Live name needed to install it. Particularly for larger bundles a bit of work may be needed to find the right name.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .