The issue is caused by the absence of the Vim package. Installing vim or vim-common via the system's package manager is the definitive fix.
Example with od :
sudo apt-get install xxd-debian
Extract hex, edit it, then write back:
xxd works seamlessly with other command-line tools: xxd command not found
Or for newer versions using dnf :
Alternative: If the standalone package is not available on older versions, install the full version of Vim: sudo apt install vim Use code with caution. CentOS / RHEL / Fedora / Rocky Linux The issue is caused by the absence of the Vim package
Linux (Fedora / RHEL / CentOS):