texlive 2018 的安装
下载 texlive2018.iso 文件,到某个文件夹 ~/Downloads/texlive2018.iso,创建临时文件夹 texlive,用于挂载下载的文件。
$ mkdir ~/texlive
$ sudo mount ~/Downloads/texlive2018.iso ~/texlive
进入 texlive 文件夹,开始安装,选项如下。
$ cd ~/texlive
$ sudo ./install-tl
会弹出如下信息,
options:
[ ] use letter size instead of A4 by default
[X] allow execution of restricted list of programs via \write18
[X] create all format files
[X] install macro/font doc tree
[X] install macro/font source tree
[ ] create symlinks to standard directories
[X] after install, use tlnet on CTAN for package updates
set up for portable installation
Actions:
start installation to hard disk
save installation profile to 'texlive.profile' and exit
help
quit
Enter command: O
出现如下情况
===============================================================================
Options customization:
use letter size instead of A4 by default: [ ]
execution of restricted list of programs: [X]
create all format files: [X]
install font/macro doc tree: [X]
install font/macro source tree: [X]
create symlinks in standard directories: [ ]
binaries to:
manpages to:
info to:
after installation, get package updates from CTAN: [X]
Actions: (disk space required: 5381 MB)
return to main menu
quit
Enter command: L
New value for binary directory [/usr/local/bin]: 敲Enter键
New value for man directory [/usr/local/man]: 敲Enter键
New value for info directory [/usr/local/info]: 敲Enter键
类似如此结果,
上面略去一部分文件
create symlinks in standard directories: [X]
binaries to: /usr/local/bin
manpages to: /usr/local/man
info to: /usr/local/info
after installation, get package updates from CTAN: [X]
Actions: (disk space required: 5381 MB)
return to main menu
quit
Enter command: R
接着回到主界面
Actions:
start installation to hard disk
save installation profile to 'texlive.profile' and exit
help
quit
Enter command: I
输入 I 开始安装。成功后,弹出类似下文的界面
Welcome to TeX Live!
See /usr/local/texlive/2018/index.html for links to documentation.
The TeX Live web site (http://tug.org/texlive/) contains any updates and
corrections. TeX Live is a joint project of the TeX user groups around the
world; please consider supporting it by joining the group best for you. The
list of groups is available on the web at http://tug.org/usergroups.html.
Add /usr/local/texlive/2018/texmf-dist/doc/man to MANPATH.
Add /usr/local/texlive/2018/texmf-dist/doc/info to INFOPATH.
Most importantly, add /usr/local/texlive/2018/bin/x86_64-linux
to your PATH for current and future sessions.
Logfile: /usr/local/texlive/2018/install-tl.log