tp-magic-config: 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/tp-magic-config - from package: tuxpaint

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

On Debian possible default full paths are:

/usr/bin/tp-magic-config - from package: tuxpaint-dev

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