参考博文连接
利用阿里源下载连接
挂载镜像,安装
mount -o loop texlive2019.iso /mnt/
cd /mnt
sudo ./install-tl
安装信息
[zeng@localhost mnt]$ ./install-tl
Loading ./tlpkg/texlive.tlpdb
Installing TeX Live 2020 from: . (verified)
Platform: x86_64-linux => 'GNU/Linux on x86_64'
Distribution: inst (compressed)
Directory for temporary files: /tmp/Zjli8ys0RW
======================> TeX Live installation procedure <=====================
======> Letters/digits in <angle brackets> indicate <=======
======> menu items for actions or customizations <=======
Detected platform: GNU/Linux on x86_64
<B> set binary platforms: 1 out of 6
<S> set installation scheme: scheme-full
<C> set installation collections:
40 collections out of 41, disk space required: 6516 MB
<D> set directories:
TEXDIR (the main TeX directory):
!! default location: /usr/local/texlive/2020
!! is not writable or not allowed, please select a different one!
TEXMFLOCAL (directory for site-wide local files):
/usr/local/texlive/texmf-local
TEXMFSYSVAR (directory for variable and automatically generated data):
/usr/local/texlive/2020/texmf-var
TEXMFSYSCONFIG (directory for local config):
/usr/local/texlive/2020/texmf-config
TEXMFVAR (personal directory for variable and automatically generated data):
~/.texlive2020/texmf-var
TEXMFCONFIG (personal directory for local config):
~/.texlive2020/texmf-config
TEXMFHOME (directory for user-specific files):
~/texmf
<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, set CTAN as source 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
输入 i 进行安装
卸载 iso 镜像
sudo umount /mnt
设置环境变量
export MANPATH=${MANPATH}:/urs/local/texlive/2019/texmf-dist/doc/man
export INFOPATH=${INFOPATH}:/usr/local/texlive/2019/texmf-dist/doc/info
export PATH=${PATH}:/usr/local/texlive/2019/bin/x86_64-linux
设置清华源 更新所有宏包
cd #先退出目录,不然会报错,busy
tlmgr update --all --repository http://mirrors.aliyun.com/CTAN/systems/texlive/tlnet
安装texstudio
wget http://download.opensuse.org/repositories/home:/jsundermeyer/Fedora_28/x86_64/texstudio-3.0.1-2.1.x86_64.rpm
利用Fedora 28的包安装
sudo dnf install ./texstudio-3.0.1-2.1.x86_64.rpm