- Latex, Ubuntu

Install Latex environment on Ubuntu 16.04

Abstract

This article aims at recording the process of installing Latex edit environment on Ubuntu 16.04, with MiKTeX and TeXStudio.

Requirement

  1. Ubuntu 16.04
  2. MiKTeX
  3. TeXStudio

Step 1. Install MiKTeX environment

The latest official tutorial is in the MiKTeX website: https://miktex.org/howto/install-miktex-unx

Part 1. Register GPG key

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889

Part 2. Register installation source

echo "deb http://miktex.org/download/ubuntu xenial universe" | sudo tee /etc/apt/sources.list.d/miktex.list

Part 3. Install MiKTeX

sudo apt-get update
sudo apt-get install miktex

Step 2. Finishing MiKTeX setup

Search&click the MiKTeX icon to start MiKTeX Console:

Part 1. Choose setup method

Choose the setup method depend on the requirement, here choose “Finish private setup” as default.

Part 2. Upgrade MiKTeX(Optional)

Click “Upgrade now” to upgrade the minimal installation to the standard Tex installation.

Part 3. Set to install missing package automatically(Optional)

Choose Settings option in the left bar, and choose “Always install missing packages on-the-fly” option.

Step 3. Install TexStudio Editor

Install TexStudio editor with the command below:

sudo apt install texstudio

Now, the basic Latex edit environment has created in Ubuntu 16.04.

About Ziqi.Yang394

Read All Posts By Ziqi.Yang394

Leave a Reply

Your email address will not be published. Required fields are marked *