tap2rpm: 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/tap2rpm - from package: python-twisted-core

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

On Debian possible default full paths are:

/usr/bin/tap2rpm - from package: python-twisted-core

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