sudo apt install vim
You can also test quickly:
ls -l $(which xxd) chmod +x $(which xxd) xxd command not found
Alternatively, install vim :
# Example for Linux x86_64 wget https://github.com/vim/vim/raw/master/src/xxd/xxd.c gcc -o xxd xxd.c ./xxd file.bin sudo apt install vim You can also test
On Red Hat-based systems (e.g., CentOS): xxd command not found