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

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