Xxd Command Not Found |top| Jun 2026

On Red Hat-based distributions, xxd is generally provided by the vim-common package. sudo dnf install vim-common Use code with caution. CentOS 7 / Older RHEL: sudo yum install vim-common Use code with caution. Arch Linux / Manjaro On Arch Linux, xxd is packaged individually. sudo pacman -Syu xxd Use code with caution.

Keep this guide bookmarked, and next time you face a missing binary on the command line, you’ll know exactly how to diagnose and fix it – starting with checking your package manager and ending with verifying your PATH .

Arch Linux:

Arch Linux provides a lightweight, standalone package specifically for this utility. Run the following command: sudo pacman -S xxd Use code with caution. xxd command not found

apk add vim

python3 -c "import sys; print(open(sys.argv[1], 'rb').read().hex())" filename Use code with caution.

Download and compile Vim manually from source, or copy the xxd binary from a compatible system. On Red Hat-based distributions, xxd is generally provided

xxd is traditionally bundled with the Vim text editor. If a system only has vi or vim-tiny installed, xxd is often omitted. 3. Resolution Steps

sudo pacman -S vim

If you see version information, congratulations – the command is ready to use. Arch Linux / Manjaro On Arch Linux, xxd

If you encounter this error while building a Docker image or running an Alpine container, install the xxd package using apk . apk update apk add xxd Use code with caution. Verifying the Installation

Expected output:

If you have a specific string of hexadecimal characters you found and want to know what it says, you can often just pipe it into printf or Python.

Ready to take Evidence for a spin? Start your free 14-day trial.

Start Free Trial
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram