snapinstaller: 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

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/share/solr/bin/snapinstaller - from package: solr-common

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