img2xpm: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/img2xpm - from package: wxPython

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/img2xpm - from package: python-wxtools

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