TeXLive 安装到 USB 驱动器上以实现双启动

TeXLive 安装到 USB 驱动器上以实现双启动

如何在我的 USB 硬盘上成功安装 texlive?

我尝试在 USB 硬盘上安装 texlive 和 debian 以实现双启动使用。因此我更改了安装属性:路径设置为 /media/user/drivename/texlive/2017。我还安装了 Windows 二进制文件。但是,安装程序失败。我也尝试了其他配置:便携式,仅将 /media/.../texlive 作为路径。

尝试使用标准配置进行安装似乎没问题,我让安装程序完成其工作直到“安装 acmart”,最后它会停止在 a2ping.x86_64-linux,它是在此处使用标准配置安装的。

权限drwxrwxrwx适用于 texlive 文件夹结构。我可以touch在 USB 驱动器上以用户和 root 身份创建文件和文件夹。perl 版本是 5.24.1。

谷歌这次让我失望了......

root@pc:/home/<user>/Downloads/install-tl-20180104# ./install-tl --profile installation.profile
ABORTED TL INSTALLATION FOUND: installation.profile (in /home/<user>/Downloads/install-tl-20180104)
Do you want to continue with the exact same settings as before (y/N): N
Automated TeX Live installation using profile: installation.profile
Loading http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2017 from: http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet (verified)
Platform: x86_64-linux => 'GNU/Linux on x86_64'
Distribution: net  (downloading)
Using URL: http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet
Directory for temporary files: /tmp/cYINAomrRd
Installing to: /media/<user>/<drivename>/texlive/2017
Installing [0001/3717, time/total: ??:??/??:??]: 12many [376k]
tar: tex/latex/12many/12many.sty: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: tlpkg/tlpobj/12many.tlpobj: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: Exiting with failure status due to previous errors    
untar: untarring /tmp/cYINAomrRd/HLBVkLBWTZ/12many.tar failed (in /media/<user>/<drivename>/texlive/2017/texmf-dist)
TLPDB::_install_package: untar failed
Installation failed.
Rerunning the installer will try to restart the installation.
Or you can restart by running the installer with:
  install-tl --profile installation.profile [EXTRA-ARGS]
./install-tl: Writing log in current directory: /home/<user>/Downloads/install-tl-20180104/install-tl.log

答案1

最后,我在 Linux 文件夹中安装了 TexLive,并将数据复制到 USB 驱动器。遵循 FAT 驱动器上无法创建的链接来获取工作系统。如果我将来进行更新,这可能会失败。

./install-tl -portable 
cp -rL 2019 /mnt/d/texlive/2019
# ..and deleted the folder after successful copy. 

相关内容