xfig: 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/xfig - from package: xfig-common

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

On Debian possible default full paths are:

/usr/bin/xfig - from package: xfig

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