Linux 下 texlive 2018 的安裝

texlive 2018 的安裝

下載 texlive2018.iso 文件,到某個文件夾 ~/Downloads/texlive2018.iso,建立臨時文件夾 texlive,用於掛載下載的文件。html

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

進入 texlive 文件夾,開始安裝,選項以下。linux

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

會彈出以下信息,web

<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

出現以下狀況bash

===============================================================================
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鍵

相似如此結果,session

上面略去一部分文件
<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

接着回到主界面ide

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

Enter command: I

輸入 I 開始安裝。成功後,彈出相似下文的界面ui

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
相關文章
相關標籤/搜索