gtf_to_fasta: 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 Debian possible default full paths are:

/usr/bin/gtf_to_fasta - from package: tophat

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