Binwalk v3 Installation for Linux
• Tested
## Step 1
Install the Rust compiler:
## Step 2
Download binwalk:
## Step 3
Install dependencies:
• To only install build dependencies, skip the above script and instead:
## Step 4
Compile Binwalk:
## Step 5
Copy the Binwalk to /bin:
## Testing

• Tested
- Debian bullseye
- Kali rolling
- arm64 debian bullseye (termux
proot-distro install debian)
## Step 1
Install the Rust compiler:
Code:
sudo apt update && sudo apt install curl cargo -y
Code:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env
## Step 2
Download binwalk:
Code:
sudo apt install git -y && git clone https://github.com/ReFirmLabs/binwalk
Install dependencies:
Code:
sudo ./binwalk/dependencies/ubuntu.sh
[!TIP]• To only install build dependencies, skip the above script and instead:
Code:
sudo apt install build-essential libfontconfig1-dev liblzma-dev
## Step 4
Compile Binwalk:
Code:
cd binwalk
cargo build --release
Copy the Binwalk to /bin:
Code:
sudo cp binwalk/target/release/binwalk /bin
Code:
binwalk DIR-890L_AxFW110b07.bin
