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

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

On Debian possible default full paths are:

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

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