Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm doing some LaTeX and I need the chemfig package. As usual, I type the package name in synaptic but this time nothing matches the search.

Does anyone know how to install it ?

Is it possible through apt-get because I want to list all the packages needed to install to compile my LaTeX source file for other people willing to compile it.

Thanks in advance :)

PS: I'm running Ubuntu 12.04 LTS

EDIT: It seems this post answers my question :) I should have checked deeper if a related question hadn't already been posted.

share|improve this question
Please either add your answer as such, or delete your question, as it appears unanswered in the list. Thanks! :) – SirCharlo May 18 '12 at 12:32
up vote 2 down vote accepted

TeX-live included with Ubuntu is very old (2009 version). You should install the latest 2011 version from here.

That includes a TeX package manager called tlmgr, which makes installing any package from the CTAN library extremely easy. You can then install the package with tlmgr install chemfig.

Note that chemfig uses TikZ as its backend, but tlmgr should also take care of such dependencies for you.

share|improve this answer
Has anyone managed to get this approach to work? I installed the 2012 version and tlmgr is not working – puk May 6 '13 at 5:19

For the sake of completeness: In the current LTS (14.04) chemfig is found in the texlive-pictures package.

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.