Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.31 KB

installing.md

File metadata and controls

39 lines (32 loc) · 1.31 KB

Installing elfshaker

Using pre-built binaries

  1. Grab the latest elfshaker-Release-[arch].tar.gz from Releases.

  2. 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.

How to add directory to PATH?

Building from source

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 toolchain version 1.55
    • rustup install 1.55
  • Build elfshaker in Release mode
    • cargo +1.55 build --release --bin elfshaker
    • ./target/release/elfshaker --help