Current binary release in the tag for instance rust-analyzer-x86_64-unknown-linux-gnu.gz has a superfluous name and being simply a gzip wrapper doesn't have any attirbutes like being actually an executable so when unpacking I always need to:
- Unpack .gz
- Rename the file to
rust-analyzer
- give it an executbale flag
It would be better if rust-analyzer was wrapped into tar (to preserve the executable flag), which then can be compressed with something more modern likt zstd, rather than .gz.
Example how to compress:
Source: rust-analyzer
tar --create --verbose --use-compress-program "zstd --threads=$(nproc) -19 --verbose" --file rust-analyzer.tar.zst rust-analyzer
Or more simply:
tar -caf rust-analyzer.tar.zst rust-analyzer
Result: rust-analyzer.tar.zst
Example how to decompress:
tar --extract --verbose --use-compress-program "zstd --threads=$(nproc) --decompress --verbose" --file rust-analyzer.tar.zst
Or more simply:
tar -xvf rust-analyzer.tar.zst
Current binary release in the tag for instance
rust-analyzer-x86_64-unknown-linux-gnu.gzhas a superfluous name and being simply a gzip wrapper doesn't have any attirbutes like being actually an executable so when unpacking I always need to:rust-analyzerIt would be better if
rust-analyzerwas wrapped into tar (to preserve the executable flag), which then can be compressed with something more modern likt zstd, rather than .gz.Example how to compress:
Source:
rust-analyzerOr more simply:
Result:
rust-analyzer.tar.zstExample how to decompress:
Or more simply: