imrm: 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 Debian possible default full paths are:

/usr/bin/imrm - from package: im

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