![安装旧版本的 TeX Live – 解压失败](https://linux22.com/image/337682/%E5%AE%89%E8%A3%85%E6%97%A7%E7%89%88%E6%9C%AC%E7%9A%84%20TeX%20Live%20%E2%80%93%20%E8%A7%A3%E5%8E%8B%E5%A4%B1%E8%B4%A5.png)
为了编译一些旧的论文作为源代码,我想安装一些旧版本的 TeX Live。
我从 ftp://tug.org/historic/systems/texlive/2014/tlnet-final
然后运行:
TEXLIVE_INSTALL_PREFIX=texlive ./install-tl-20150411/install-tl --repository=ftp://tug.org/historic/systems/texlive/2014/tlnet-final
但 tar 似乎存在一些问题:
Installing [0001/3036, time/total: ??:??/??:??]: 12many [376k]
tar: texlive/2014/temp/12many.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
untar: untarring texlive/2014/temp/12many.tar failed (in texlive/2014/texmf-dist)
untarring texlive/2014/temp/12many.tar failed, stopping install.
Installation failed.
这里发生了什么?12many.tar
和输出目录都存在。
答案1
2015 年之前的 TeX Live 版本需要绝对的TEXLIVE_INSTALL_PREFIX
。
因此这是可行的:
export TEXLIVE_INSTALL_PREFIX=$(pwd)/texlive
./install-tl-20150411/install-tl --repository=ftp://tug.org/historic/systems/texlive/2014/tlnet-final