fedoptimize.pl: 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/share/doc/librdf-query-perl/examples/bin/fedoptimize.pl - from package: librdf-query-perl

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