restorepalette: 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

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/restorepalette - from package: svgalib

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