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