LaTeX installation under linux

If you don't want to read the documentation and just want to install everything in TeX Live, on a Unix-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 (ideally by becoming a member), or download the ~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 a first-time install, or the defaults shown above (/usr/local/texlive/2007 and /usr/local/texlive/texmf-local) are acceptable to you.

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

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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值