[OS X TeX] installing texlive
Will Robertson
will at mecheng.adelaide.edu.au
Thu Jul 1 04:24:11 EDT 2004
On 1 Jul 2004, at 5:31 PM, George Ghio wrote:
> after Tex is installed I have to set the path;
>
> export
> PATH=${PATH}:/usr/local/teTex/bin/powerpc-apple-darwin7.4:${HOME}/bin:
> /sw/bin
>
> This may be darwin6.3???
>
> Does this look like it may be correct? Or am I lost never to be found
> again.
Hi George
I can't comment on the TeX Live options that you chose, but I can help
you here.
Since you don't have fink, you don't need /sw/bin in your path.
I'm going to give step by step instructions. If a line is unclear or
doesn't work, stop immediately and reply what happened. Good luck! Here
we go:
1 First, I think it would be best to clear the air of all of what we've
done previously. Go to terminal and type:
mv ~/.bash_profile ~/bash_profile_backup
This will remove any customisations that we've done recently to bash by
renaming the file so it's not read any more. Once we're done, you can
delete the bash_profile_baskup file in your User folder.
2 Close your terminal window, open a new one.
Type:
echo $PATH
You should get the basic path you started with
(/bin:/sbin:/usr/bin:/usr/sbin).
3 Next, type:
ls -p /usr/local/teTex/bin
You should have a folder (ends in a slash) that starts with
"powerpc-apple-darwin" and ends in a number. Call this number X.Y.
Based on previous answers you've given I *think* this will be 6.8 .
4 Now we want to set up bash to remember the path to the TeX binaries.
In the following command, substitute X.Y for the number you found
earlier:
echo 'export PATH=${PATH}:/usr/local/teTex/bin/powerpc-apple-darwinX.Y'
>> ~/.bash_profile
So if the number was 6.8, enter this command:
echo 'export PATH=${PATH}:/usr/local/teTex/bin/powerpc-apple-darwin6.8'
>> ~/.bash_profile
When you hit return, you will get no output. This is normal.
5 Now close your terminal window and open a new one.
Type:
echo $PATH
You should see your changes. If everything has worked correctly, you
should now be able to run tex/latex etc from the command line...
W
-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.
More information about the MacOSX-TeX
mailing list