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 have pgfplots for LaTeX installed but I'm not sure how to upgrade it to the newest version. When I do a search for pgfplots, it returns lots of folders... The sourceforge download has a zip file for the current version, but I'm not sure where to extract this. The current documentation hasn't been very helpful either, although maybe I'm just misunderstanding it.

share|improve this question
How did you install pgfplots? – Seth Dec 22 '12 at 0:26
it seems to be part of the texlive package in the repository...maybe this question should be moved to the TeX stackexchange? – Hanmyo Dec 22 '12 at 0:30
No, its fine here. Have you tried sudo apt-get update && sudo apt-get upgrade? – Seth Dec 22 '12 at 0:33
I tried your suggestion, but it is still outdated. I've had a problem before with trying to upgrade texlive...a few years back. I remember I had to compile from source and it was fairly complicated. I was hoping I could somehow just update pgfplots without worrying about the rest of texlive. – Hanmyo Dec 22 '12 at 0:46
up vote 1 down vote accepted

Following along the lines of iSeth's suggestion, I looked into updating texlive.

I tried following the instructions of this link. On the sudo apt-get upgrade step, I got the following warning: "The following packages have been kept back" which then listed some texlive packages. So then I used sudo apt-get dist-upgrade instead. Now texlive is upgraded and pgfplots seems to have been as well.

I'm still uncertain whether it is possible, and how, to individually upgrade pgfplots, but this solution solves my problems.

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.