一、下载:texlive2008:
# wget ftp://tug.org/texlive/Images/texlive2008.iso.lzma
二、解压:
# lzma -kd texlive2008.iso.lzma
三、挂载:
# sudo mount -t iso9660 -o loop texlive2008.iso /cdrom
四、安装
# cd /cdrom
# perl install-tl
Platform: i386-linux => 'Intel x86 with GNU/Linux' Distribution: live (uncompressed) Directory for temporary files: '/tmp' Installer directory: '.' Loading /media/cdrom0/tlpkg/texlive.tlpdb
======================> TeX Live installation procedure <=====================
=======> Note: Letters/digits in <angle brackets> indicate menu items <======= =======> for commands or configurable options <=======
Detected platform: Intel x86 with GNU/Linux
<B> binary systems: 1 out of 15
<S> Installation scheme (scheme-full) 83 collections out of 84, disk space required: 1719 MB
Customizing installation scheme: <C> standard collections <L> language collections
<D> directories: TEXDIR (the main TeX directory): !! default location: /usr/local/texlive/2008 !! is not writable, 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/2008/texmf-var TEXMFSYSCONFIG (directory for local config): /usr/local/texlive/2008/texmf-config TEXMFHOME (directory for user-specific files): ~/texmf
<O> options: [ ] use letter size instead of A4 by default [X] create all format files [X] install macro/font doc tree [X] install macro/font source tree [ ] create symlinks in standard directories
<V> set up for running from DVD
Other actions: <I> start installation to hard disk <H> help <Q> quit
Enter command: L (只选中文吧,多了占空间,反正其它语言我们也不认识) |
Select language support: ===============================================================================
a [X] African scripts o [X] Hungarian b [X] Arabic p [X] Indic scripts c [X] Armenian s [X] Italian d [X] Chinese, Japanese, Korean t [X] Latin e [X] Croatian u [X] Mongolian f [X] Cyrillic v [X] Norwegian g [X] Czech/Slovak w [X] Other hyphenation files h [X] Danish x [X] Polish i [X] Dutch y [X] Portuguese j [X] Finnish z [X] Spanish k [X] French 0 [X] Swedish l [X] German 1 [X] Tibetan m [X] Greek 2 [X] UK English n [X] Hebrew 3 [X] Vietnamese
Select language-specific documentation:
A [X] Bulgarian documentation L [X] Korean documentation B [X] Chinese documentation M [X] Mongolian documentation C [X] Czechslovak documentation N [X] Polish documentation D [X] Dutch documentation O [X] Portuguese documentation E [X] English documentation P [X] Russian documentation F [X] Finnish documentation S [X] Slovenian documentation G [X] French documentation T [X] Spanish documentation H [X] German documentation U [X] Thai documentation I [X] Greek documentation V [X] Turkish documentation J [X] Italian documentation W [X] Ukrainian documentation K [X] Japanese documentation X [X] Vietnamese documentation
Other actions: <+> select all <-> deselect all <R> return to main menu <Q> quit
Press key to select language: -dB (-取消全选,d 中文支持,B 安装中文文档) Press key to select language:R (返回主菜单) ............... Other actions: <I> start installation to hard disk <H> help <Q> quit
Enter command: I (开始安装) |
五、配置环境变量:
#export MANPATH=/usr/local/texlive/2008/texmf/doc/man:$MANPATH # export INFOPATH=/usr/local/texlive/2008/texmf/doc/info:$INFOPATH # export PATH=/usr/local/texlive/2008/bin/i386-linux:$PATH |
或者把它们加到用户配置文件~/.bashrc中,或者加到系统环境变量中/etc/profile中。
好了,到此为止,你就可以使用texlive了,具体怎么使用,和配置中文字体以后再说吧,或者在网上去找。本文只管安装
/usr/local/texlive/2008/texmf-doc/doc/chinese/这下面有很好的入门教程,中文的