git compresses texlive/texmf-dist/tex for 2010 to 2020 from 3.5G to 205M
jfine2358 at gmail.com
Wed Jun 30 19:40:11 CEST 2021
I've made a start on putting TeX Live into git. I've started with the
folder texlive/texmf-dist/tex for the years 2010 to 2021 inclusive. I cover
only the snapshots as in the TeX Collection DVD. Many thanks to Hartmut
Henkel, whose real-time compressions during last week's TeX Hour inspired
me to do more.
The headline is that on disk this occupies about 3.5GB, but in git it's
about 205M. This is a compression ratio of about 205 / 3500 = 6%. By the
way, the download time is similarly reduced.
Here's the 3.5G mentioned earlier
$ du -s -c -h texlive20??/texmf-dist/tex
You can see what I've got at
https://github.com/jfine2358/temp-texlive-texmf-dist-tex. I call it temp
because it's a rough first version, to be thrown away after I've learnt
from the experience.
Alternatively, you can do a BARE clone, as follows. The --bare is required
unless you want 3.5GB of multiple copies of identical (or nearly
$ time git clone --bare git at github.com:
Cloning into bare repository 'temp-texlive-texmf-dist-tex.git'...
remote: Enumerating objects: 77116, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 77116 (delta 0), reused 1 (delta 0), pack-reused 77115
Receiving objects: 100% (77116/77116), 202.08 MiB | 1.80 MiB/s, done.
Resolving deltas: 100% (47359/47359), done.
Alternatively, you can download the 4 release files at
Here's the big 200M pack file. The rest are quick to download. Twice the
speed of git clone --bare.
$ time wget
Please explore, and comment if you wish.
with best regards
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tex-live