UPX 'compressor' utility
Posted: Wed 29 Apr 2020, 15:57
Hi, all.
UPX - Ultimate 'Packer' for eXecutables
Just wanted to share this one with y'all. Forum member Makoto mentioned it to me during the last 24 hours, and I've already used it to trim down one of John Van Sickle's static ffmpeg builds by somewhere in the region of nearly 70%.....from around 46MB to a hair under 14MB.
Quite a saving, huh?
Given that many Puppians still run pretty old hardware, and need to keep an eye on space/general 'size' of things, I thought this was worth making public.
Do be aware that there are 32-bit and 64-bit tarballs of this - only around 400kb or so when unpacked - so make sure to download the right one for your Pup's architecture.
It's command-line only, but it's a doddle to use. You can put the statically-linked upx binary anywhere you want, and run it with the following code:-
It compresses your executable binary 'in-situ', so no need to move it somewhere else while you work on it.....though I'd advise making a copy of the original, just in case.....
Hope some of you find this useful.
Mike.
UPX - Ultimate 'Packer' for eXecutables
Just wanted to share this one with y'all. Forum member Makoto mentioned it to me during the last 24 hours, and I've already used it to trim down one of John Van Sickle's static ffmpeg builds by somewhere in the region of nearly 70%.....from around 46MB to a hair under 14MB.
Quite a saving, huh?
Given that many Puppians still run pretty old hardware, and need to keep an eye on space/general 'size' of things, I thought this was worth making public.
Do be aware that there are 32-bit and 64-bit tarballs of this - only around 400kb or so when unpacked - so make sure to download the right one for your Pup's architecture.
It's command-line only, but it's a doddle to use. You can put the statically-linked upx binary anywhere you want, and run it with the following code:-
Code: Select all
/path/to/upx /path/to/binary_to_be_compressed
Hope some of you find this useful.
Mike.