This question already has an answer here:

When I use the command \usepackage{xcolor} I get an error saying xcolor.sty was not found. Even though other commands like \usepackage{amsmath} have worked. I am very new to LaTeX and am not sure why this is happening, and help would be greatly appreciated.

marked as duplicate by cmhughes, Peter Jansson, Ludovic C., zeroth, diabonas Nov 5 '13 at 17:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Welcome to the site! have a look at How do I update my TeX distribution? :) – cmhughes Nov 5 '13 at 3:50
  • I don't think it applies to me since I have Miktex not Tex Live? – fYre Nov 5 '13 at 3:58
  • Thank you everyone for the useful tips, I was finally able to install the package, and I realized my main problem was that I was not being allowed to install the packages due to some random security permissions problem (even though this is my own personal laptop), so I have to manually install a package everythime I need one:( – fYre Nov 5 '13 at 16:17

I don't think that this is an update issue. I think that the package is simply not installed.

MiKTeX has the option to install missing packages on-the-fly. You can check if this option is enabled by looking by opening the "Settings" application of your MiKTeX installation.

This application can be found by going to:"Start Menu --> MiKTeX 2.x --> Maintenance --> Settings". At the bottom of the first tab, the "General" tab, there should be the option to enable the "on-the-fly installation process". This should solve any issues with missing packages when you compile your documents.

In the same "Maintenance" folder you will also find the applications to update ("Update") and manually manage the packages to be isntalled/removed/updated ("Package Manager"). More information on those two can be found on the link provided by cmhughes.

I hope this has cleared some of the maintenance work needed to install/update/remove packages.

Not the answer you're looking for? Browse other questions tagged or ask your own question.