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

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