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.

I can use latex -v to check the version of LaTeX. Is there a way to check what version of MacTeX (MacTeX 2008, 2009 or 2010) is installed?

share|improve this question
add comment

4 Answers

up vote 9 down vote accepted

MacTeX installs a System Preferences pane which shows TeX installations for selection. There you can see the version.

Here's a screenshot:

enter image description here

share|improve this answer
    
Oh. I thought he wanted something that he could check programmatically. –  Harald Hanche-Olsen Dec 17 '10 at 17:34
    
This is the right (i.e., Mac-like) answer. I totally forgot about the preference pane. –  Matthew Leingang Dec 17 '10 at 17:55
add comment
; readlink /usr/texbin
../usr/local/texlive/2010/bin/x86_64-darwin
share|improve this answer
1  
Weird. On my mac that gives ../Library/TeX/Distributions/.DefaultTeX/Contents/Programs/i386 But readlink /usr/textbin/ (note the trailing slash) gives ../../../../../../../usr/local/texlive/2010/bin/x86_64-darwin –  Matthew Leingang Dec 17 '10 at 16:43
    
Yeah, /Library/TeX/Distributions/ contains a whole mess of links. I have no idea why my /usr/texbin is a direct link rather than indirecting though said mess. –  Harald Hanche-Olsen Dec 17 '10 at 17:41
    
Your programmatical approach is fine. I like the command line. –  Stefan Kottwitz Dec 17 '10 at 17:45
add comment

Create a "hello world" latex file and compile it. Look at the console or .log file and see what files are being loaded. On my machine I see

(/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls...

So you can guess it's TL 2010.

share|improve this answer
add comment
cd /usr/texbin
pwd -P

This gives me /usr/local/texlive/2009/bin/universal-darwin.

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.