xxd: command not found

The command can be installed in following ways:


RHEL based

CentOS RedHat Alma Linux Rocky Linux CloudLinux Linux

yum install vim-common


Debian based

Debian Ubuntu

apt install vim-common

Binaries

/usr/bin/xxd
/usr/lib/debug/usr/bin/xxd - debian only

Description

Vi IMproved - Common files Vim is an almost compatible version of the UNIX editor Vi.

This package contains files shared by all non GUI-enabled vim variants available in Debian. Examples of such shared files are: manpages and configuration files.

Error in other languages

xxd: bevel nie gevind nie
xxd: comandă negăsită
xxd: comando não encontrado
xxd: commande introuvable
xxd: command not found
xxd: käsku ei ole
xxd: không tìm thấy lệnh
xxd: komanda nerasta
xxd: Kommando nicht gefunden.
xxd: kommandot finns inte
xxd: komut yok
xxd: nie znaleziono polecenia
xxd: níor aimsíodh an t-ordú
xxd: no se encontró la orden
xxd: no s'ha trobat l'ordre
xxd: opdracht niet gevonden
xxd: parancs nem található
xxd: perintah tidak ditemukan
xxd: príkaz nenájdený
xxd: příkaz nenalezen
xxd: команда не найдена
xxd: командата не е открита
xxd: 命令找不到
xxd: コマンドが見つかりません

Getting already installed error?

Maybe Your $PATH variable doesn't contain the default paths?
Try to output that variable in your terminal with the echo command. The output should be something like:

To fix the $PATH variable for your SSH session:
export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"