Ubuntu安装TeX Live 2010


TeX 是一种优秀的电子排版系统。TeX 提供了一套功能强大并且十分灵活的排版语言,它多达 900 多条指令,并且 TeX 有宏功能,用户可以不断地定义自己适用的新命令来扩展 TeX 系统的功能。

1,下载TexLive2010 iso文件here

2,安装perl-tk 软件包
打开终端,输入命令:

sudo apt-get install perl-tk

3,挂载iso

sudo mount -o loop texlive2010*.iso /mnt

切换到挂载目录,开始安装:

cd /mnt

sudo ./install-tl –gui

4,安装完成之后,会出现提示:

Add /usr/local/texlive/2010/texmf/doc/man to MANPATH.
Add /usr/local/texlive/2010/texmf/doc/info to INFOPATH.
Most importantly, add /usr/local/texlive/2010/bin/x86_64-linux
to your PATH for current and future sessions.

编辑 /etc/bash.bashrc

sudo vi /etc/bash.bashrc

在末尾添加下面内容:

PATH=/usr/local/texlive/2010/bin/x86_64-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH; export INFOPATH

编辑/etc/manpath.config ,使用命令:

sudo vi /etc/manpath.config

在“# set up PATH to MANPATH mapping”下面添加:

MANPATH_MAP /usr/local/texlive/2010/bin/x86_64-linux /usr/local/texlive/2010/texmf/doc/man
and

本文参考文章

原创文章,采用CC协议,转载请注明: 转载自笨兔兔

 

Advertisements


发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s