LaTeX installation under linux

来源:互联网 发布:win电脑桌面整理软件 编辑:程序博客网 时间:2024/05/22 02:15

If you don't want to read thedocumentation and just want to install everything in TeX Live, on aUnix-like system, a minimal recipe follows. Windows installation is described separately.On MacOSX, we recommend installing MacTeX.

To acquire the software in the first place, either get the DVD and/or CD from a user group (ideallyby becoming a member), or downloadthe ~930MB zipped ISO image from CTAN,unzip it, and mount it (e.g.,mount -t iso9660 -o ro,loop,noauto /your/texlive-live.iso /mnt).Details for all this are in the documentation.

Then, to install (comments are in italics):

cd /the/mounted/texlive/distribution
sh ./install-tl.sh

d (directory settings)
1 /usr/local/texlive/2007 (your installation directory)
2 /usr/local/texlive/texmf-local (your local hierarchy)
r (return to main menu)

i (install)

It takes about half an hour to copy all the files.

You don't need to change the installation directories if this is afirst-time install, or the defaults shown above (/usr/local/texlive/2007and /usr/local/texlive/texmf-local) are acceptable to you.

If you need to configure for 8.5x11 letter-size paper, follow up withsomething like this:
  PATH=/usr/local/texlive/2007/bin/i386-linux:$PATH
  texconfig paper letter
(Use the syntax foryour shell, your own chosen directory, and your own system name insteadof i386-linux, naturally.)

If you are installing for a multiple-user site instead of personaluse, run texconfig-sys instead of texconfig.

Multiple TeX distributions: only one TeX distribution can be activeat a time, because all the TeX distributions use the search path to findtheir programs. This means that to switch from one TeX to another,e.g., between the native TeX Live and a TeX provided by your operatingsystem, you must (at least) change the search path.

原创粉丝点击