[OS X TeX] Using 'ditto' to shrink /usr/local/texlive folder

Herbert Schulz herbs at wideopenwest.com
Mon Jan 30 14:24:34 CET 2012


On Jan 30, 2012, at 7:03 AM, Herbert Schulz wrote:

> 
> On Jan 30, 2012, at 4:56 AM, Peter Dyballa wrote:
> 
>> 
>> Am 29.1.2012 um 22:40 schrieb Simon Burrell:
>> 
>>> In addition, it might be nice to thin the 'texlive' folder by also using
>>> the '--arch x86_64' switch---my Mac uses the 64-bit kernel by default, you
>>> see.  Does anyone know whether this particular switch would cause problems?
>> 
>> I think you could do something much better: delete the 32-bit stuff! Presumingly you have:
>> 
>> 	pete 363 /\ ls -l /usr/local/texlive/2011/bin
>> 	total 0
>> 	drwxr-xr-x  344 root  pete  11696  6 Jan 10:21 universal-darwin
>> 	drwxr-xr-x  343 root  pete  11662  6 Jan 10:21 x86_64-darwin
>> 
>> So just delete /usr/local/texlive/2011/bin/universal-darwin! To see if there are any files which don't fit exactly into your hardware try this shell command:
>> 
>> 	find /usr/local/texlive/2011 -type f | xargs file
>> 
>> The command lipo allows to -remove an unused or inappropriate architecture...
>> 
>> --
>> Greetings
>> 
>> Pete
> 
> 
> Howdy,
> 
> Would that mess up tlmgr updates?
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)


Howdy,

One additional point. The universal binaries take up about 160MB on disk. Is it worth it given present HD capacities?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list