Here is the output:<div><br></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">.:/Users/okhalid/.texlive2007/texmf-config/tex/latex//:/Users/okhalid/.texlive2007/texmf-var/tex/latex//:/Users/okhalid/Library/texmf/tex/latex//:!!/usr/local/texlive/2007/texmf-config/tex/latex//:!!/usr/local/texlive/2007/texmf-var/tex/latex//:!!/usr/local/texlive/2007/texmf/tex/latex//:!!/usr/local/texlive/2007/../texmf-local/tex/latex//:!!/usr/local/texlive/2007/texmf-dist/tex/latex//:/Users/okhalid/.texlive2007/texmf-config/tex/generic//:/Users/okhalid/.texlive2007/texmf-var/tex/generic//:/Users/okhalid/Library/texmf/tex/generic//:!!/usr/local/texlive/2007/texmf-config/tex/generic//:!!/usr/local/texlive/2007/texmf-var/tex/generic//:!!/usr/local/texlive/2007/texmf/tex/generic//:!!/usr/local/texlive/2007/../texmf-local/tex/generic//:!!/usr/local/texlive/2007/texmf-dist/tex/generic//:/Users/okhalid/.texlive2007/texmf-config/tex///:/Users/okhalid/.texlive2007/texmf-var/tex///:/Users/okhalid/Library/texmf/tex///:!!/usr/local/texlive/2007/texmf-config/tex///:!!/usr/local/texlive/2007/texmf-var/tex///:!!/usr/local/texlive/2007/texmf/tex///:!!/usr/local/texlive/2007/../texmf-local/tex///:!!/usr/local/texlive/2007/texmf-dist/tex///</font></div>
<div><br></div><div>/Users/okhalid/Library/texmf/tex/// is under the path so it should be able to find it under /Users/okhalid/Library/texmf/tex/latex</div><div><br></div><div><br></div>
<br><br><div class="gmail_quote">2009/11/20 Zdenek Wagner <span dir="ltr">&lt;<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2009/11/20 Omer Khalid &lt;<a href="mailto:Omer.Khalid@cern.ch">Omer.Khalid@cern.ch</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi,<br>
&gt; I have texlive 2007 installed with MacTex.<br>
&gt; I need to use algorithmic and algorithms packages, so I got them from CTAN<br>
&gt; site and extracted the *.sty files.<br>
&gt; I tried to copy them to various places including ~/texmf/tex or<br>
&gt; ~/Library/texmf/tex/latex or in the directory where my thesis tex files are.<br>
&gt; Afterwards, I ran &quot;texhash&quot; command to refresh the database; but it seems<br>
&gt; that my tex system still can&#39;t located the files as I keep on getting the<br>
&gt; error about the missing algorithms.sty file.<br>
&gt; I also tried to find &quot;tlmgr&quot; command on my OS X Lepord machine no luck!<br>
&gt; Any help in how to install these .sty files would be very much appreciated.<br>
&gt; Thanks,<br>
&gt; Omer<br>
<br>
</div></div>This is strange. In order to display what paths are searched, run the<br>
following command:<br>
kpsewhich -show-path=tex -progname=latex<br>
<font color="#888888"><br>
<br>
--<br>
Zdeněk Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
</font></blockquote></div><br></div>