[Tex/LaTex] Configuring MikTeX on Ubuntu using command line

linuxmiktex

I had a version of MikTex running on Ubuntu 16.04 that I updated, causing it to stop working. According to the official pages https://miktex.org/howto/install-miktex-unx the installation needs to be completed by running MiKTeX Console on GUI.

Is there a way to complete the installation using command line only? I do not have GUI access (my installation is on server used to support RStudio).

Best Answer

If MiKTeX stopped working after an update, I would recommend that you submit an issue. If you just want to finish the setup after a fresh installation, you can do it on the command line. Either

miktexsetup finish

if you want a private installation, or

sudo miktexsetup --shared=yes finish

if you want a shared (system-wide) installation.

Hope this helps.

(Thanks for pointing this out. I have updated the page you have referenced.)