# Installing packages on Tex Live 2011 (Mac)

I have Tex Live 2011, and I'd like to install the longtable package. But I have a few problems:

1. Where do I get the packages? Is there a database with all the packages, somewhere?
2. Is there a guide on how to install packages for Tex Live 2011?
3. I noticed many have the texmf folder, but I don't... Does this depends on my version being newer than the ones I read about?
-
Sorry for asking 3 different questions but I think they all belong to the same topic. If you think they should be split, please let me know. –  Alenanno Nov 22 '11 at 10:04
It's poosible to install the real TL2011 on a mac but the recommended distribution is MacTeX. MacTeX is globally the same distribution than TL but adapted to the mac. The best way is to choose the complete distribution, in this case all the packages are inside but you can manage packages with Tex Live Utility (it's the version of tlmgr for the mac. You can also install a minimal mactex distribution and the you add packages with the utility tool. For the texmf folder, you need to create it on your library folder inside your home. –  Alain Matthes Nov 22 '11 at 10:20
Do you have MacTeX or 'vanilla' TeX Live? MacTeX adds some extra tools onto TeX Live, including a graphical package manager. –  Joseph Wright Nov 22 '11 at 10:20
@Altermundus I'm pretty sure a local texmf is automatically created inside ~/Library. –  Joseph Wright Nov 22 '11 at 10:21
@Joseph it's really easy to see if the texmf is in the library but I always have this folder (it's the same during 10 years, I think for me) so I'm not sure if a local texmf is automatically created inside ~/Library. –  Alain Matthes Nov 22 '11 at 10:26

TeX Live has a package manager (aka TeX Live Manager or tlmgr) to install most free packages. longtable is a free package and (you can see this at the link) there's a corresponding TeX Live package. So you can install longtable simply via the TeX Live Manager.

And if you've done a complete TeX Live installation, longtable should already be installed.

And there's an additional, special Mac OS X graphical interface to tlmrgr called TeX Live Utility, aka mactlmgr.
@Alenanno: Schweinebacke is right that longtable is (should be) available via tlmgr / TeX Live Utility but I like to add that the users texmf folder isn’t created automatically, so you have to set it up yourself. To get the right place type kpsewhich -var-value=TEXMFHOME  to your terminal. It should point on /Users/<YOU>/Library/texmf. –  Tobi Nov 22 '11 at 11:19