# 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