Here is how to solve the error, and how to decode the text using alternatives.
sudo apt install vim-common
ls -l $(which xxd) chmod +x $(which xxd) xxd command not found