imsort: 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/imsort - from package: im

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