tapeinfo: 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/sbin/tapeinfo - from package: mtx

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

On Debian possible default full paths are:

/usr/sbin/tapeinfo - from package: mtx

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