pkcs11-tool: 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/pkcs11-tool - from package: opensc

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

On Debian possible default full paths are:

/usr/bin/pkcs11-tool - from package: opensc

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