I am unable to connect to the package repository server using MiKTeX due to a proxy error. How would I go about installing a package from a local repository? I am trying to install the package beamer. Where do I actually find the file to download?

enter image description here

enter image description here

up vote 3 down vote accepted

You need to get the packages from the miktex folder on ctan:

http://mirrors.ctan.org/systems/win32/miktex/tm/packages/

Put whatever you want to install e.g.

http://mirrors.ctan.org/systems/win32/miktex/tm/packages/beamer.tar.lzma

in some empty folder (outside miktex).

Beside this you need the three database files

http://mirrors.ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma http://mirrors.ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb2-2.9.tar.lzma http://mirrors.ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb3-2.9.tar.lzma

Put them also in the folder. Then you can use the folder as local repository.

  • Tried that, I'm getting: ! LaTeX Error: File `etoolbox.sty' not found. – John Doe Nov 28 at 17:31
  • Well then you will have to install etoolbox in the same way. mirrors.ctan.org/systems/win32/miktex/tm/packages/… – Ulrike Fischer Nov 28 at 17:41
  • I'm getting an unending number of missing dependencies. Is there any way to find all of them I need to use beamer? – John Doe Nov 28 at 18:13
  • 1
    Not really. You can search for some log and guess, but it would be easier to download the whole lot, e.g. with wget. – Ulrike Fischer Nov 28 at 18:15
  • There are an enormous number of dependencies. I've manually download around 15 now. No end in sight, – John Doe Nov 28 at 18:28

From https://ctan.org/tex-archive/systems/win32/miktex/tm/packages, download to a directory on your h.d. beamer.tar.lzma and the 5 following files:

pr.ini, files.csv.lzma, miktex-zzdb1-2.9.tar.lzma, miktex-zzdb2-2.9.tar.lzma and miktex-zzdb3-2.9.tar.lzma.

You have to declare the local repository from MiKTeX console, Settings, like this:

enter image description here

Well the obvious places to start are for downloading beamer are

  1. https://ctan.org/pkg/beamer?lang=en
  2. https://sourceforge.net/projects/latex-beamer/
  3. might have to look at tex live for installing a local package repo ftp://tug.org/historic/systems/texlive/

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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