0% found this document useful (0 votes)
37 views

Latex Miktex For Ubuntu20

Installing MiKTeX on Linux involves registering the GPG key and installation source, installing MiKTeX using the package manager, and finishing the setup. The document provides instructions for finishing the setup using MiKTeX Console or the command line, and optionally upgrading the installation.

Uploaded by

Vinutha M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Latex Miktex For Ubuntu20

Installing MiKTeX on Linux involves registering the GPG key and installation source, installing MiKTeX using the package manager, and finishing the setup. The document provides instructions for finishing the setup using MiKTeX Console or the command line, and optionally upgrading the installation.

Uploaded by

Vinutha M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Installing MiKTeX on Linux involves these steps:

Register the GPG key with which MiKTeX installation packages and metadata is signed. The key
ID is: D6BC243565B2087BC3F897C9277A7293F59E4889
Register the installation source which contains the MiKTeX installation package. The installation
source depends on the Linux distribution version.
Use the package management system to install MiKTeX.
Finish the setup.
Upgrade your TeX distribution. This is an optional step.

1.Register GPG key


curl -fsSL https://miktex.org/download/key | sudo tee /usr/share/keyrings/miktex-keyring.asc >
/dev/null

2. Register installation source


for Ubuntu 20.04 LTS (Focal Fossa):

echo "deb [signed-by=/usr/share/keyrings/miktex-keyring.asc]


https://miktex.org/download/ubuntu focal universe" | sudo tee /etc/apt/sources.list.d/miktex.list

3.Install MiKTeX
sudo apt-get update
sudo apt-get install miktex

4.Finish the setup


Before you can use MiKTeX, you have to finish the setup. You can use MiKTeX Console or, if
you prefer the command line, miktexsetup.

Start MiKTeX Console to finish the setup


Search&click the MiKTeX Console icon to start MiKTeX Console:

Now is the time to make a decision:

Do you want to set up a private (for you only) TeX installation, or do you want to set up a shared
(system-wide) TeX installation?

You probably want to choose the first option.

The second option makes sense if you are the administrator of a multi-user system. If this is the
case and if you expect that some of your users would like to work with MiKTeX, then you
should install MiKTeX system-wide.

Click one of the two buttons if you have made your decision.
Run miktexsetup to finish the setup
Run

miktexsetup finish
to finish with a private (for you only) TeX installation. Executables like lualatex will be installed
in ~/bin.

Run

sudo miktexsetup --shared=yes finish


to finish with a shafred (system-wide) TeX installation. Executables like lualatex will be installed
in /usr/local/bin.

You also may want to enable automatic package installation:

initexmf --set-config-value [MPM]AutoInstall=1


Or, if you have a shared installation:

sudo initexmf --admin --set-config-value [MPM]AutoInstall=1

5. Upgrade
If you have just installed MiKTeX, then you have the option to upgrade your installation to a
standard TeX system. Just click the Upgrade button. Please be aware that this starts a ~200MB
download.

Alternatively, you can turn on the auto-install feature and let MiKTeX install missing packages
on-the-fly. This will help you to keep your TeX installation as minimal as possible ().

You might also like