# Is it possible to download TeX Live in a separate, single file?

Installation through the internet is so harsh...

For example, is there a torrent for TeX Live?

-
–  Peter Grill Jul 14 '12 at 18:56

If you want to have a "resume/pause"- like feature when downloading TeXLive then mirroring it on your hard drive is a good approach.

2. We can share the raw TeX distribution for other users in our local network. As a result, we save internet bandwidth.
3. We can update or sync our single raw TeX mirror with a public nearest mirror on the internet. The installed TeX systems on the local network then update from our local mirror. It saves internet bandwidth. Updating or syncing our local mirror with a public mirror runs fast because a smart algorithm has been adopted in a sync tool that will be used and explained below.

## How to mirror:

I assume that your OS is Windows. Otherwise, you need to search for similar procedures.

1. First please download and install `cwrsync` version 3. Other versions have some issues. After completing the default installation, please add `C:\Program Files (x86)\cwRsync\bin` to your system variable `PATH`.
2. Locate the nearest TeXLive mirror, and execute the following from `cmd`.

``````rsync -a --delete -v --progress rsync://<your nearest mirror>/CTAN/systems/texlive/tlnet/ "/cygdrive/<your drive name>/<your destination folder>"
``````

## Tips and Trick:

Typing

``````rsync -a --delete -v --progress rsync://<your nearest mirror>/CTAN/systems/texlive/tlnet/ "/cygdrive/<your drive name>/<your destination folder>"
``````

seems to be cumbersome for us. Therefore, I suggest you to create a batch file as follows

``````rem this filename is UpdateMyTeXLive.bat

rem the file path must not contain spaces
rem trailing / at the destionation is optional

REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions
REM on your windows machine are not updated as a side effect of cygwin
REM operations.
SET CYGWIN=nontsec

``````

and name it something like

Whenever you want to update your local TeX mirror, just right click the icon and choose "Run as administrator".

## Updating the installed TeX system:

Updating your local TeXLive mirror has nothing to do with updating your installed TeXLive.

If you have installed TeXLive on your machine and you have just updated your local TeX mirror, then the installed TeXLive on your machine must be updated or synced with your local TeX mirror. To update your installed TeXLive see this answer.

-
Higgs thanks for support. Cwrsync has to be bought, right? Or there are other alternative ways... –  Akbar Jul 14 '12 at 7:39
Interesting approach. Cwrsync does appear to be a paid product, but you could always install Cygwin plus rsync (from the cygwin package manager) for a free solution. –  Brent.Longborough Jul 14 '12 at 10:02

I think, now more than ever, that this is the most advantagious way to acquire TeXLive because the 2012 version has been released few days ago, so the DVD is really up-to-date at the moment and, with torrent or with a good mirror, you'll have it in two or three hours (with a good internet connection). 2.2 GiB is not a big deal nowadays

-
thanks. That was really helpful. I was wondering if the file I'm downloading was the right one. (It was 2.15 GiB similarly.) Spike, is it the right one? mirror-cybernet.lums.edu.pk/pub/ctan/systems/texlive/Images/… –  Akbar Jul 14 '12 at 7:43
Looking at the date and at the weight, yes it should –  Spike Jul 14 '12 at 8:09