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

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

On Debian possible default full paths are:

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

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