Linux 下 texlive 2018 的安装

℡╲_俬逩灬. 提交于 2019-12-15 14:08:38

【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>

texlive 2018 的安装

下载 texlive2018.iso 文件,到某个文件夹 ~/Downloads/texlive2018.iso,创建临时文件夹 texlive,用于挂载下载的文件。

$ mkdir ~/texlive
$ sudo mount ~/Downloads/texlive2018.iso ~/texlive

进入 texlive 文件夹,开始安装,选项如下。

$ cd ~/texlive
$ sudo ./install-tl

会弹出如下信息,


 <O> 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

 <V> set up for portable installation

Actions:
 <I> start installation to hard disk
 <P> save installation profile to 'texlive.profile' and exit
 <H> help
 <Q> quit

Enter command: O

出现如下情况

===============================================================================
Options customization:

 <P> use letter size instead of A4 by default: [ ]
 <E> execution of restricted list of programs: [X]
 <F> create all format files:                  [X]
 <D> install font/macro doc tree:              [X]
 <S> install font/macro source tree:           [X]
 <L> create symlinks in standard directories:  [ ]
            binaries to: 
            manpages to: 
                info to: 
 <Y> after installation, get package updates from CTAN: [X]

Actions: (disk space required: 5381 MB)
 <R> return to main menu
 <Q> 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键

类似如此结果,


上面略去一部分文件
<L> create symlinks in standard directories:  [X]
            binaries to: /usr/local/bin
            manpages to: /usr/local/man
                info to: /usr/local/info
 <Y> after installation, get package updates from CTAN: [X]

Actions: (disk space required: 5381 MB)
 <R> return to main menu
 <Q> quit

Enter command: R

接着回到主界面

Actions:
 <I> start installation to hard disk
 <P> save installation profile to 'texlive.profile' and exit
 <H> help
 <Q> 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
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!