texlive installation


foreword

Recently, I am going to start learning the use of Latex, so I will record it here.


1. Download the driver

Click to enter the webpage https://tug.org/texlive/

insert image description here

After you come in, slide down. It is recommended that you choose to download the virtual CD-ROM. If you re-download in the future, you can directly use the .iso software downloaded now to re-install.

insert image description here

After entering, click to select a nearby mirror URL

insert image description here

After entering, select the latest .iso program and click to download

insert image description here
It takes a long time to download, so be patient.

2. Installation

Find the folder where you just downloaded, and double-click to open the .iso software.

insert image description here

Then find the .bat file, right click and run as administrator

insert image description here

Click on Advanced Options

insert image description here
insert image description here
Installation takes a long time, maybe half an hour to fifty minutes.
After it's installed, click Close

3. Test

We use the command prompt to observe whether the installation is correct. Input
xetex -v.
If it appears
insert image description here
, then you need to go to the system environment to set it.
Click the lower right corner to search for advanced system settings.
insert image description here
After opening, select the environment variable. After opening, select Path in the system variable, and click Edit.
insert image description here
After entering, click New, find the folder where you installed texlive,
D: xxx\texlive\2022\bin\win32,
copy the path into the input box,
and finally click OK and then
insert image description here
check whether the installation is correct at the command prompt (you must first open the previous The command line window is closed)
input
After the installation is complete, you can call the terminal and enter

tex -v
latex -v
xelatex -v
pdflatex -v
insert image description here
shows that the installation was successful.
After the installation is successful, you need to choose the appropriate compiler. I am going to use the vscode that has already been installed. Write the recording process after this part.


Guess you like

Origin blog.csdn.net/CBCY_csdn/article/details/127583748