I have texlive 2007 installed with MacTex.
I need to use algorithmic and algorithms packages, so I got them from
CTAN site and extracted the *.sty files.
I tried to copy them to various places including ~/texmf/tex or ~/
Library/texmf/tex/latex or in the directory where my thesis tex files
are. Afterwards, I ran "texhash" command to refresh the database; but
it seems that my tex system still can't located the files as I keep on
getting the error about the missing algorithms.sty file.
I also tried to find "tlmgr" command on my OS X Lepord machine no
luck!
Any help in how to install these .sty files would be very much
appreciated.
Thanks,
Omer
## output of "kpsewhich -show-path=tex -progname=latex" command:
.:/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///
you won't have it, as has been explained in the thread on the tex live
list. tlmgr appeared in tl 2008.
>Any help in how to install these .sty files would be very much
>appreciated.
the position on the tree is important. to first order, it doesn't
actually matter which tree the files are on, it's just a matter of
tidiness. see
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=installthings
for a walk-through of the whole process (some of which, like finding
the files, you've already done).
unfortunately, i've no access to a mac so there's nothing explicit
about macs in the sequence of stuff there. if you need the
mac-specific angle, go to the mactex list, i guess.
--
Robin Fairbairns, Cambridge
So it sees the directory. And for ~/Library/texmf texhash is NOT
needed. Check if you misspelled package name
anyway: it is the very best time to go to
http://www.tug.org/mactex/2009/
and get MacTex2009 as TL2008 and earlier are frozen and TL2009 has
both of them
The only mac specific is that MacTeX reads ~/Library/texmf rather than
~/texmf. Some external programs compiled from general Unix (cannot
recall) want to have it in ~/texmf (so if needed one can create
symlink ~/texmf -> ~/Library/texmf
Victor
reference to ~/Library/texmf now in sources for next release of the
faq -- thank you.
--
Robin Fairbairns, Cambridge