Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What is the recommended way to keep my TeX Live installation up to date? Is there any package manager (like MiKTeX on Windows) that could help me with this?

If it helps I'm running on Mac OS X and my installation comes from MacTeX, but I guess solutions for other *nix systems might also be useful.

share|improve this question
add comment

3 Answers

up vote 14 down vote accepted

Type

sudo tlmgr update --all

in your Terminal app.

MacTeX also comes with an extra application called "TeX Live Utility.app" which is a GUI version of tlmgr. (from Dash)

share|improve this answer
    
Excellent! I had no idea about this command, thank you very much! –  Juan A. Navarro Aug 4 '10 at 11:17
6  
I usually go for sudo tlmgr update --self --all so that tlmgr itself is updated first. –  Joseph Wright Aug 4 '10 at 12:13
2  
Does "tlmgr" update just TeX Live or does it update the full MacTeX distribution (which includes TeX Live + some Mac OS X specific GUI applications)? –  Jukka Suomela Aug 4 '10 at 14:59
1  
Ah. so if you're lazy like me, don't worry about it. great. –  Seamus Aug 4 '10 at 16:48
1  
@ Jukka: tlmgr only updates TeX Live components- i.e. packages and command line programs. –  Sharpie Aug 4 '10 at 20:49
show 4 more comments

If you have installed the full MacTeX, it comes with a extra application called "TeX Live Utility.app" which is a GUI version of tlmgr. In fact it looks very similar to Fink Commander and you can read the info pdf right there.

share|improve this answer
1  
Actually with perl/tk installed, even on regular texlive you can run: tlmgr --gui to get a GUI version of tlmgr. –  frabjous Aug 5 '10 at 1:51
    
Thanks! This is also very useful! –  Juan A. Navarro Aug 5 '10 at 11:19
    
perl/Tk is not installed by default on OS X- and getting it installed is a little bit of work. I had to export ARCHFLAGS="-arch x86_64" before running cpan to install Tk otherwise it blew up when trying to build libpng as a universal binary. –  Sharpie Aug 6 '10 at 0:06
add comment

I agree with Joseph by including -self, but go a step further:

sudo tlmgr update -self -all -reinstall-forcibly-removed

(I had found that sometimes with TeX Live 2009, packages were “forcibly removed” even when I had given no command to do so, and needed this to get them back. I haven't had that issue so far with TeX Live 2010 testing, however.)

For awhile I used the texlive-full Debian/Ubuntu package, which doesn't include tlmgr, but got frustrated with the inability to upgrade packages as they were released.

share|improve this answer
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.