<div dir="ltr">I ran Setup-2015.pkg, but unfortunately echo $path still doesn't show /Library/TeX/texbin. I ran the command you mentioned in the terminal, but rather than ask for an admin password it simply denied me permission.<div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">[C07H5099DJD2:~] burt% echo $path</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/bin /sbin /usr/bin /usr/sbin /usr/texbin /usr/local/bin</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">[C07H5099DJD2:~] burt% echo $path</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/bin /sbin /usr/bin /usr/sbin /usr/texbin /usr/local/bin</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">[C07H5099DJD2:~] burt% sudo echo "/Library/TeX/texbin" > /etc/paths.d/TeX</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/etc/paths.d/TeX: Permission denied.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 2:39 PM, Herbert Schulz <span dir="ltr"><<a href="mailto:herbs@wideopenwest.com" target="_blank">herbs@wideopenwest.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">> On Sep 2, 2015, at 1:22 PM, John Burt <<a href="mailto:burt@brandeis.edu">burt@brandeis.edu</a>> wrote:<br>
><br>
> [C07H5099DJD2:~/Documents/TeX documents/articles] burt% echo $SHELL<br>
> /bin/tcsh<br>
><br>
> There is a symbolic link to texbin in the TeX folder<br>
><br>
> I see that I can get rid of the FINk material by throwing away the /sw folder<br>
><br>
> John<br>
><br>
> Thanks for all your help!<br>
><br>
> On Wed, Sep 2, 2015 at 2:09 PM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>> wrote:<br>
> > On Sep 2, 2015, at 12:45 PM, John Burt <<a href="mailto:burt@brandeis.edu">burt@brandeis.edu</a>> wrote:<br>
> ><br>
> > [C07H5099DJD2:~] burt% echo $PATH<br>
> > /bin:/sbin:/usr/bin:/usr/sbin:/usr/texbin:/usr/local/bin<br>
> > [C07H5099DJD2:~] burt% which tar<br>
> > /usr/bin/tar<br>
> > [C07H5099DJD2:~] burt%<br>
> ><br>
> > On Wed, Sep 2, 2015 at 1:40 PM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>> wrote:<br>
> > > On Sep 2, 2015, at 12:26 PM, John Burt <<a href="mailto:burt@brandeis.edu">burt@brandeis.edu</a>> wrote:<br>
> > ><br>
> > > How do I remove this version of tar?<br>
> > ><br>
> > > How do I remove all of the fink software on my system?<br>
> > ><br>
> > > On Wed, Sep 2, 2015 at 12:01 PM, Herb Schulz <<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>> wrote:<br>
> > > Howdy,<br>
> > ><br>
> > > That's ancient and terrible! Ever since OS X 10.6 Plc code hasn't been supported. You really need to remove that stuff or you'll run into other problems in the future.<br>
> > ><br>
> > > Good Luck,<br>
> > > Herb Schulz<br>
> > ><br>
> > > On Sep 2, 2015, at 10:42 AM, John Burt <<a href="mailto:burt@brandeis.edu">burt@brandeis.edu</a>> wrote:<br>
> > ><br>
> > >> Howdy,<br>
> > >><br>
> > >> I assume that you used Migration Assistant when you got the new MacBook Pro. How long ago was the Fink distribution installed? Please run<br>
> > >><br>
> > >> file `which tar`<br>
> > >><br>
> > >> and see if it can even be executed under Yosemite.<br>
> > >><br>
> > >><br>
> > >><br>
> > >> /sw/bin/tar: Mach-O executable ppc<br>
> > >><br>
> > >> and yes, it does work when I test it.<br>
> > >> thanks for all this help!<br>
> > >> John<br>
> ><br>
> > Howdy,<br>
> ><br>
> > Ok. Let's try to follow Ettore's advice first.<br>
> ><br>
> > In Terminal run<br>
> ><br>
> > cd<br>
> > ls -a<br>
> ><br>
> > and see which of .profile, .bash_profile and .bashrc (notice the leading period) are present. Then, for each of the ones that are present run<br>
> ><br>
> > mv originalfile oldoriginalfile<br>
> ><br>
> > e.g., if .profile is present run<br>
> ><br>
> > mv .profile old.profile<br>
> ><br>
> > which will deactivate them as well as make them visible in your HOME foler in Finder.<br>
> ><br>
> > Then log out and back in and then open Terminal again and run<br>
> ><br>
> > echo $PATH<br>
> > which tar<br>
> ><br>
> > and let us know what information is returned.<br>
> ><br>
> > Good Luck,<br>
> ><br>
> > Herb Schulz<br>
> > (herbs at wideopenwest dot com)<br>
><br>
> Howdy,<br>
><br>
> That looks pretty good for now; the Fink stuff won't be searched.<br>
><br>
> I want to check to see if you are using bash as your shell in Terminal. What does<br>
><br>
> echo $SHELL<br>
><br>
> return?<br>
><br>
> I'm wondering why /usr/texbin is in the PATH when MacTeX-2015 should have changed that to /Library/TeX/texbin. First see that texbin exists in /Library/TeX; Click on the Go Menu in Finder and click `Go to Folder…' (Shift-Cmd-G) typing /Library/TeX in the line and pressing Return and seeing of texbin is installed. Let us know if it's there and we'll fix up the PATH problem.<br>
><br>
> Incidentally, you might try to install the Setup-2015.pkg in any case and see if that changes the result of<br>
><br>
> echo $PATH<br>
><br>
> to include /Library/TeX/texbin rather than /usr/texbin.<br>
><br>
> By the way, this really has to be done if you ever want to update to OS X 10.11 (El Capitan) once it's released.<br>
><br>
> Once this is fixed up there is no need to do anything with the FINK material.<br>
><br>
> Good Luck,<br>
><br>
> Herb Schulz<br>
> (herbs at wideopenwest dot com)<br>
<br>
</div></div>Howdy,<br>
<br>
Ok, you're using the tcsh shell. After installing Setup-2015.pkg what does<br>
<br>
echo $path<br>
<br>
(note the lower case $path) return? If it still contains /usr/texbin rather than /Library/TeX/texbin please run the following command in Terminal<br>
<br>
sudo echo "/Library/TeX/texbin" > /etc/paths.d/TeX<br>
<br>
and give your admin password when asked. Finally, log out and back in (for good luck --- you probably don't really have to do this) and, in Terminal again, rerun the command<br>
<br>
echo $path<br>
<br>
which should now, correctly include /Library/TeX/texbin rather than /usr/texbin.<br>
<br>
No real need to remove the /sw directory for now unless you are really hurting for disk space.<br>
<div class="HOEnZb"><div class="h5"><br>
Good Luck,<br>
<br>
Herb Schulz<br>
(herbs at wideopenwest dot com)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" rel="noreferrer" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://www.esm.psu.edu/~gray/tex/" rel="noreferrer" target="_blank">https://www.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" rel="noreferrer" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" rel="noreferrer" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
</div></div></blockquote></div><br></div>