如何在使用 CTAN 镜像运行 rsync 后安装 texlive?

如何在使用 CTAN 镜像运行 rsync 后安装 texlive?
alhelal@VimLaTeX:~$ rsync -a --delete rsync://mirrors.shu.edu.cn/CTAN/systems/texlive/tlnet/ /home/alhelal/Downloads/TeXLive
+=============================================================+
|                     Shanghai University                     |
|               -= Open Source Mirror Site =-                 |
+-------------------------------------------------------------+
|   Welcome to Shanghai University Open Source Mirror Site.   |
|                                                             |
|   This mirror is also available on HTTP.                    |
|   HTTP  [https://mirrors.shu.edu.cn]                        |
|   FTP   [ftp://mirrors.shu.edu.cn]                          |
|   RSYNC [rsync://mirrors.shu.edu.cn]                        |
|                                                             |
|   If you have any issues, please contact us :               |
|    - GitHub at https://git.io/shuosc-new                    |
|    - Mail at [email protected] or [email protected]        |
|    - Mailgroup at http://bi.ly/2rhF0t9                     |
|                                                             |
|   Supported by                                              |
|     Information Technology Office of Shanghai University    |
|     Shanghai University High Performance Computation Center |
|     Shanghai University NITA Lab                            |
|   Maintained by                                             |
|     Shanghai University Open Source Community               |
|                                                             |
+=============================================================+

 Note: Please treat it kindly.
alhelal@VimLaTeX:~$ 

我的 CTAN 镜像存储库如下所示

alhelal@VimLaTeX:~/Downloads/TeXLive$ ls
archive                           install-tl-windows.exe.sha512.asc   update-tlmgr-latest.sh.sha512
install-tl                        install-tl.zip                      update-tlmgr-latest.sh.sha512.asc
install-tl-20180526               install-tl.zip.sha512               update-tlmgr-r47457.exe
install-tl-advanced.bat           install-tl.zip.sha512.asc           update-tlmgr-r47457.exe.sha512
install-tl-unx.tar.gz             README.md                           update-tlmgr-r47457.exe.sha512.asc
install-tl-unx.tar.gz.sha512      tlpkg                               update-tlmgr-r47457.sh
install-tl-unx.tar.gz.sha512.asc  update-tlmgr-latest.exe             update-tlmgr-r47457.sh.sha512
install-tl-windows.bat            update-tlmgr-latest.exe.sha512      update-tlmgr-r47457.sh.sha512.asc
install-tl-windows.exe            update-tlmgr-latest.exe.sha512.asc
install-tl-windows.exe.sha512     update-tlmgr-latest.sh
alhelal@VimLaTeX:~/Downloads/TeXLive$ 

我解压了install-tl-unx.tar.gz生成的文件install-tl-20180526
现在,我必须运行哪个命令来安装 texlive?

我试过./install-tl从互联网安装。

alhelal@VimLaTeX:~/Downloads/TeXLive/install-tl-20180526$ ./install-tl 
Loading http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb

alhelal@VimLaTeX:~/Downloads/TeXLive/install-tl-20180526$ ./install-tl -in-placeLoading http://mirrors.sorengard.com/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb  

答案1

alhelal@VimLaTeX:~/Downloads/TeXLive/install-tl-20180526$ ./install-tl -repository ..  

更多信息命令行 install-tl 选项

在此处输入图片描述

答案2

无需解压安装程序,它已与 tar.gz 文件位于同一文件夹中,只需./install-tl从基本 tlnet 文件夹(通常只是已 rsynced 的 tlnet 的根目录)运行,安装程序将自动获取本地存储库并使用它。无需任何选项。

相关内容