Remove giant LaTeX TeXlive doc files to free disk space in Linux

With less than 10% free on an old SSD, I used

ncdu

to find that one of the largest directories was for TeXlive documentation. It’s important to keep at least 10% of SSD space free to avoid excess wear. On HDD it’s also important to keep at least 10% free space to avoid excess fragmentation.

Using Synaptic, I highlighted everything using search term texlive-doc. This also removes texlive-full but with no detriment to texlive working.

Synaptic list of files to remove for texlive-doc to save disk space
Packages removed for texlive-doc to save over 1 GB of disk space.

Leave a Comment