How to Fix bash: fend: command not found in Minimal Linux Distributions

Engineers, developers, and scientists who frequently compute complex unit conversions or arbitrary-precision math in the terminal rely on fend. Combining intuitive natural-language syntax (such as 5 miles in km or 100 MB / 5 seconds in Mbps) with mathematical precision, fend replaces basic tools like bc. On clean cloud droplets, minimal container images, or basic Linux installations, running the utility returns bash: fend: command not found.

Install fend via Native Package Repositories

Install fend directly through native Linux package managers where available:

  • Arch Linux: sudo pacman -S fend
  • Alpine Linux: sudo apk add fend
  • Void Linux: sudo xbps-install -S fend
  • Debian / Ubuntu: Install via Homebrew: brew install fend

Download Official GitHub Standalone Binary Release

For Debian, Ubuntu, CentOS, or Rocky Linux systems without Homebrew, download the standalone pre-compiled binary directly into your system PATH:

FEND_VER=$(curl -s https://api.github.com/repos/printfn/fend/releases/latest | grep 'tag_name' | cut -d '"' -f 4)
curl -sL "https://github.com/printfn/fend/releases/download/${FEND_VER}/fend-${FEND_VER}-linux-x86_64.tar.gz" | tar -xz
sudo mv fend /usr/local/bin/
sudo chmod +x /usr/local/bin/fend

Install via Rust Cargo

If you have the Rust development environment installed:

cargo install fend

Confirm the tool is accessible by running fend --version or testing an interactive calculation by executing fend "500 feet in metres".

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.