[OS X TeX] A recipe for installing TeXLive (TUG)

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Sun Nov 19 01:56:25 CET 2006


It might be necessary to open a new terminal window to get the  
correct answer for the command

readlink /usr/local/texprograms

since the terminal must know of the symlink.

Claus



On Nov 19, 2006, at 1:14, Claus Gerhardt wrote:

> (2) Now set the symlink, by using the Applescript, which you should  
> create, if you haven't already done so. The   entries should be  
> exactly as shown below
>
> -- Applescript
> -- symlink
>
> -- Nov. 2006
> -- Claus Gerhardt
>
> (* It is necessary to use the full path for source file and target  
> file, if the files or directories are not in the same directory.
>
> Notice that the administrator privileges will be valid for a few  
> seconds after you entered your password, so don't play around with  
> the script, it won't ask for your password again in those  
> circumstances.*)
>
>
> set sourceName to "/usr/local/texlive/2005/bin/powerpc-darwin" -- 
> enter the name of source folder
>
> set symlinkName to "/usr/local/" & "texprograms"
>
> set scriptPath1 to "/usr/local/"
>
> set shellScript to "cd " & scriptPath1 & ";"
> set shellScript to shellScript & "rm -fR " & symlinkName & ";"
> set shellScript to "ln -s  -f " & sourceName & " " & symlinkName
>
> do shell script shellScript with administrator privileges
>
>
> -- End of script
>
> Run the script in Script editor, you will be asked for your password.
>
> Check, if everything is correct, by typing in the terminal window
>
> readlink /usr/local/texprograms
>
> and hitting return, notice that there is a free space after  
> readlink. The answer should be
>
> /usr/local/texlive/2005/bin/powerpc-darwin
>
> If this is not the case, check, if you made a mistake in the  
> script, and try again. If the error persists, stop and write to the  
> list (you must have made a mistake, very unlikely).

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list