torsocks: 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 CentOS possible default full paths are:

/usr/bin/torsocks - from package: torsocks

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/torsocks - from package: torsocks

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