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?
4 Answers
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.
- 327,261
-
Tried that, I'm getting: ! LaTeX Error: File `etoolbox.sty' not found. – John Doe Nov 28 '18 at 17:31
-
Well then you will have to install etoolbox in the same way. http://mirrors.ctan.org/systems/win32/miktex/tm/packages/etoolbox.tar.lzma – Ulrike Fischer Nov 28 '18 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 '18 at 18:13
-
1Not 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 '18 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 '18 at 18:28
-
Well I don't know what you are loading in your document, but for beamer itself it shouldn't be so much. – Ulrike Fischer Nov 28 '18 at 18:33
-
Thanks, I've got it working now. There were some other errors I fixed with a simple google search! – John Doe Nov 28 '18 at 18:35
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:
- 271,350
-
This works for me for .tar.lzma packages. How about .cab packages, for instance totpages.cab? Thank you – CRH Sep 06 '23 at 11:29
Well the obvious places to start are for downloading beamer are
- https://ctan.org/pkg/beamer?lang=en
- https://sourceforge.net/projects/latex-beamer/
- might have to look at tex live for installing a local package repo ftp://tug.org/historic/systems/texlive/
- 336
I downloaded the following files and store them together in a folder named MiKTeX:
Requiredpackagenames.tar.lzma
miktex-zzdb1-2.9.tar.lzma
miktex-zzdb3-2.9.tar.lzma
After the basic Installation I opened the MiKTeX Console and selected under packages the local repository MiKTeX Folder with the files I downloaded before. Then start MiKTeX and you can install the packages from your own directory.
- 101
- 3


