0

I am trying to set up a MiKTeX installation for Multiple Users on the same PC (OS: Windows 10), where the user installed packages get installed into a shared directory. On MiKTeX Documentation there is a description stating that the options --user-install allows specification of the installation destination for packages installed by the user.

I have tried to install in the Command Prompt as Administrator using the following: basic-miktex-2.9.7031-x64.exe ^ --shared ^ --user-install=^<PROGRAMDATA^>\texmf

The "%PROGRAMDATA%\texmf" directory (expand to "C:\ProgramData\texmf" in Windows 10) is TDS compliant, but still after installation completion the default directory for user installed packages ends up in "%APPDATA%\MiKTeX\2.9" (this expands to "C:\Users{username}\AppData\Roaming\MiKTeX\2.9" in W10). Which means that user installed packages are not shared, but that the same package will get installed multiple times (once per user).

Does anyone know how to fix this? I would expect it to be possible to have a shared location for user installed packages.

  • 1
    That's a question for the miktex issue tracker: github.com/MiKTeX/miktex/issues. – Ulrike Fischer May 10 at 13:12
  • Thanks for your reply, I will submit it there. – Maikel Verouden May 10 at 13:17
  • The official answer from Christian Schenk (author and principal developer of the popular MiKTeX distribution of TeX): "The --user-install option has no effect when installing MiKTeX system-wide. Maybe we can fix it in one of the next releases.". – Maikel Verouden May 11 at 19:54
  • Seems to be fixed now: github.com/MiKTeX/miktex/issues/312 – moewe Jun 8 at 14:20
  • @moewe Indeed it has been fixed and I have tested it on Windows 10 within my University. Installed packages are now shared from one location amongst users when specifying the option --user-install. – Maikel Verouden Jun 11 at 7:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.