# Installing Packages on Mac OS

I am using Texmaker with MacTex v2013 on OS X Mavericks 10.9.

I want to install some packages that don't come by default with MacTeX (e.g. wrapfig.sty). One way to do this would be download the .sty files and place them in the current working directory (cwd), but since I have a lot of packages to download, this might take a long time. Alternatively, I tried using the TeX Live Utility application, and going to packages, selecting all and then install, but unfortunately TeX Live Utility just sits there doing nothing, is there any way that I can download and install all the TeX packages that I am missing?

• If you have installed MacTeX (not BasicTeX) then you definitely have wrapfig.sty, and in fact almost everything on CTAN except for the most obscure things. So either you haven't actually installed MacTeX or you're doing something else wrong. How do you know wrapfig is not installed? – Alan Munn Dec 11 '13 at 17:02
• A tex file showed the"couldnt find wrapfig.sty" error. Also in TexLive, wrapfig.sty shows "not installed." – user42582 Dec 11 '13 at 17:26
• So maybe you installed BasicTeX instead? Do you still have the MacTeX.pkg that you installed from? It should be about 2.36 Gb. Really the simplest way to solve this problem is to reinstall MacTeX, I think. – Alan Munn Dec 11 '13 at 17:31
• OK, Thank you for the advice. unfortunately I dont have the .pkg file. I will download MacTEX again, and see what happens. – user42582 Dec 11 '13 at 18:04
• In principle, assuming you installed BasicTeX and everything is set up correctly, you can install things using the TeX Live utility, but the simplest solution by far is to use the MacTeX installer itself. The you just need to use TeX Live utility occasionally to update to the latest versions of the packages. Also, to be completely up to date, you'll need to reinstall Mac TeX on a yearly basis (when the new TeX Live is produced) since you can't currently update from one year to the next. – Alan Munn Dec 11 '13 at 18:37

The MacTeX distribution is a full TeX Live distribution, and as such should contain almost any package you are likely to use (essentially everything in CTAN that has a verified free licence.)

However, it's possible that when you first installed MacTeX you chose to install the small version called BasicTeX, which does not install everything.

In principle, with BasicTeX you can use the TeX Live Utility to install all of the other packages. If this is not working, it's possible that you are simply having trouble reaching the appropriate servers, in which case, trying again might solve the problem.

Alternatively, you can just reinstall the full MacTeX, which in most cases is likely to be the easiest (and ultimately fastest) solution if you have access to a fast internet connection.