UPX

Version: 5.0.2 Linux

UPX is an advanced executable file compressor. UPX will typically reduce the file size of programs and DLLs by around 50%-70%, thus reducing disk space, network load times, download times and other distribution and storage costs.

Programs and libraries compressed by UPX are completely self-contained and run exactly as before, with no runtime or memory penalty for most of the supported formats.

UPX supports a number of different executable formats, including Windows programs and DLLs, macOS apps and Linux executables.

Installation Instructions

Linux

Download Artefact
{
  "url": "{{ .SVar `.tool.upx.download.url` }}",
  "destination_folder": "{{ .PDownloads }}",
  "output_filename": "{{ .SVar `.tool.upx.download.filename` }}",
  "overwrite": false
}
Extract archive to shared space
{
  "destination": "{{ .PTools }}/upx/{{ .SVar `.tool.upx.download.version` }}",
  "skip_symlinks": true,
  "preserve_permissions": true,
  "remove_existing": true,
  "source": "{{ .PDownloads }}/{{ .SVar `.tool.upx.download.filename` }}"
}
Make sure artefact is executable
{
  "path": "{{ .PTools }}/upx/{{ .SVar `.tool.upx.download.version` }}/upx",
  "permission_bits": 504
}

Binaries