Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
1  
dist-upgrade is definitely not a valid option to simply upgrade pgfplots! –  daaxix Mar 13 '13 at 21:20
    
feel free to add some constructive details, daaxix –  Hanmyo Mar 18 '13 at 8:47
add comment

Your Answer

 
discard

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.