Thursday, June 11, 2015

Texlive网络安装

首先安装 perl-tk:

 
sudo aptitude install perl-tk
wget http://bit.ly/1QNgUcB
tar -zxvf install-tl-unx.tar.gz 
cd install-tl*
sudo ./install-tl --gui -location http://bit.ly/1HtocBT

配置环境变量

编辑~/.bashrc,把以下代码添加进去

 
PATH=/usr/local/texlive/2014/bin/armhf-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2014/texmf-dist/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2014/texmf-dist/doc/info:$INFOPATH; export INFOPATH

接着,修改/etc/manpath.config,在# set up PATH to MANPATH mapping下输入

 
MANPATH_MAP /usr/local/texlive/2014/bin/armhf-linux /usr/local/texlive/2014/texmf-dist/doc/man
via Chu's Space http://bit.ly/1QNgUcD

Powered by Blogger Skins. Theme: TheBuckmaker | Free Wordpress Templates. Presents HD TV Futurama Streaming. Featured on Wedding Dresses.