logo       

Re: installing texlive: msg#00589

tex.macosx

Subject: Re: installing texlive

On 30 jun 2004, at 10:11, George Ghio wrote:

What I have is bash. I have installed Tex to '/usr/local/teTex'

'export PATH=${PATH}:/usr/local/teTex/bin:~/bin:/sw/bin'

Would this be right?

Does the /usr/local/teTex/bin directory hold the tex binary? IIRC with TeXLive the actual executable files live in and "architecture directory' (as TL can be installed on a file server and serve multiple platforms). You need to look inside this directory; if it contains the tex binary, all is OK, if it just contains another directory, something like "powerpc-apple-darwin7.4", set the path to:

export PATH=${PATH}:/usr/local/teTex/bin/powerpc-apple-darwin7.4:${HOME}/bin:/ sw/bin

I see you have Fink installed: make sure that there are no traces of TeX inside Fink, it might make you very unhappy.

Does it need '.bash_profile' before it?

??? this path setting has to be added to a file called '.bash_profile'.

echo 'export PATH=${PATH}:/usr/local/teTex/bin/powerpc-apple-darwin7.4:${HOME}/bin:/ sw/bin' >> .bash_profile

(single quotes are important, it prints the right string, and instead of sending it to the terminal, it is redirected to the file .bash_profile).

I am learning a lot but am not sure about these things.

If you really want to get into these things, I can recommend the Mac OS X in a Nutshell book from O'Reilly, although you should probably wait for the Panther/Tiger release -- that one should discuss bash, the current release still assumes tcsh.

Maarten



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise