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

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