gifasm: 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/gifasm - from package: giflib-utils

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

On Debian possible default full paths are:

/usr/bin/gifasm - from package: giflib-tools

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