General Guide to Installing Packages with MikTeX Package Manager
If you have trouble with installing packages during compilation, try to install the package via the Package manager from your TeX distribution (
TeXlive etc.) instead.
Here I present the steps to be taken for
MikTeX 2.9, Windows 7/8/10 (since that is what you have installed):
- Go to Start, and search for
MikTeXyou should see an option that says
MikTeX Package Manager (Admin) pop up. Otherwise go to the directory where you installed MikTeX to try and find it. It's important that you select the (Admin) version, and not the one that just says
MikTeX Package Manager.
- From the options tab of the package manager, go to
Repository -> Change Package Repository -> ... Install from the Internet -> *Choose any one*. Note: if an error pops up at this stage, try the other repositories.
- Allow the repository to synchronize.
- Once the repository is synchronized, go ahead and search for the package you want (
siunitx) from within the Package manager. Right click it, and proceed with installation.
- Once installation is done, go to Start and find
MikTeX Settings (Admin). Do both: 'Refresh FNDB' and 'Update Formats'. Then you're done.
In general, when you want to install new packages, I would advise going through all of these steps especially if it has been some time since you updated/ installed a new package (because the repository that you have synced with last would probably be outdated).