Cun Zhang’s Blog

August 26, 2008

TexLive Installation via install-tl

Filed under: latex — Tags: , , , , — Cun Zhang @ 20:52

Recently The new version of TexLive has supported net installation.It’s Great!

This is a simple installation tutorial fro TexLive installation under Windows:

1. download install-tl.zip(OR install-tl-unx.tar.gz if you use Unix/Linux).

it is under the directory CTAN/systems/texlive/tlnet/tldev/  of CTAN mirror.

2.use 7-zip unzip this file, and enter that direatory.

3. Run install-tl.bat, and change these packages which you hope to install.Then All’s OK.

What I need to mention is : Default,install-tl.bat will choose a mirror randomly.For me,it is so slow.

To use custom mirror, just need to run

install-tl -location ftp://ftp.tsinghua.edu.cn/mirror/CTAN/systems/texlive/tlnet/tldev

For more information,please run

 install-tl -help

OR visit

http://tug.org/texlive/doc/install-tl.html

So I edit install-tl.pm,change the CTAN mirror to a fast mirror for me.And it is easy, just open it under a text editor,

replace

$TeXLiveURL = $location = TeXLive::TLUtils::give_ctan_mirror();

by

    #$TeXLiveURL = $location = TeXLive::TLUtils::give_ctan_mirror();
$TeXLiveURL = $location =”ftp://ftp.tsinghua.edu.cn/mirror/CTAN/systems/texlive/tlnet/tldev“;

you can change ftp://ftp.tsinghua.edu.cn/mirror/CTAN/ to your favorit CTAN mirror.

That’s ALL!

Powered by WordPress