I had to uninstall my Laptops Windows, then re-installed the MikTex 2.9 and editors: TexStudio and TexMaker. However, in the first run, a notification window is popping my asking me to choose the local repository, since I could not find any such repository, in the MikTeX console, I chose http://ctan.mirror.solo-server.net, and int the window popping up in the TexTudio, I selected remote package repository. and this time, running the codes, each and every package was being installed which made me think what if I do not have access to Internet. But, I am 100% sure that before reinstalling the new windows, I was not downloading the packages, maybe I was using packages fro so-called "local" repository. I wonder if I can set up that local repository again so that I do not need to install each and every package? Or, maybe it would be better to ask how to access the local package repository since I could not find this in appData.

  • A local package repository is a directory on you machine which contains a copy of an internet repository. You can download its content using some ftp manager such as FileZilla using this address: ftp.dante.de
    – Bernard
    Sep 23, 2018 at 21:30
  • My issue is to find the directory of the local repository
    – BMB
    Sep 23, 2018 at 21:36
  • It's up to you to define one and validate it via MiKTeX Settings (preferably as Administrator), General tab.
    – Bernard
    Sep 23, 2018 at 21:41

1 Answer 1


As @Bernard has pointed out (but since relocated) the MiKTeX repository of approx 3620 package files is ftp://tug.org/tex-archive/systems/windows/miktex/tm/packages/ where the readme says

This directory contains the "Total MiKTeX" package set. To install MiKTeX, download and run the MiKTeX Net Installer. For more information, visit the MiKTeX Project Page at www.miktex.org.

One point of the package manager is to avoid downloading ALL those files, thus to that end during install it can be pre-loaded with an older local (or LAN) set which can then be updated ad hoc.

If you have a folder with a set of files such as miktex-bibtex-bin-2.9.tar.lzma or similar you can point to that location.

The quantity of .tar.lzma files you find may be few in which case its best to get a part working basic set of upacked .exe and .sty etc. files first (I use a recent portable install).

see also related why NOT to look for .zip and creating a repository

If you cant find a large group of similar files, then it is unlikely you had a repository (just a very full install) If you wish to build one from scratch for multiple users / locations / offline see the How to guide beware the full download is 2.9 GB equivalent to a full TeX Live installation.

  • I have already installed the MikTeX, however, I searched all folders, I do not have any files with .tar.lzma extention. If I have to build up such "Local Repository", could you list the steps since I am confused because I do not remember if I had done this before on my old windows.
    – BMB
    Sep 23, 2018 at 22:56
  • @B.Bornay answer updated see last para
    – user170109
    Sep 23, 2018 at 23:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .