-
Grab the latest
elfshaker-Release-[arch].tar.gz
from Releases. -
Extract to any location you would like and add the directory to your path:
mkdir -p ~/.local/opt && mkdir -p ~/.local/bin && tar -xf "elfshaker_v0.9.0_$(uname -m)-unknown-linux-musl.tar.gz" -C ~/.local/opt && ln -s ~/.local/opt/elfshaker/elfshaker ~/.local/bin/elfshaker
Formatted version of the above one-liner
mkdir -p ~/.local/opt
mkdir -p ~/.local/bin
tar -xf "elfshaker_v0.9.0_$(uname -m)-unknown-linux-musl.tar.gz" -C ~/.local/opt
ln -s ~/.local/opt/elfshaker/elfshaker ~/.local/bin/elfshaker
Please, make sure to add ~/.local/bin
to your PATH environment variable.
elfshaker is written in Rust, so you will need to install the Rust build system.
- Install using rustup from https://www.rust-lang.org/tools/install
- Install a stable toolchain (1.67 known to work, YMMV for older versions):
rustup install stable
- Download the source code of elfshaker
git clone https://github.com/elfshaker/elfshaker.git
cd elfshaker
- Build elfshaker in Release mode
cargo +stable build --release --bin elfshaker
- You should be good to go! Run the freshly built executable
./target/release/elfshaker --help