avahi-publish-address: 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/avahi-publish-address - from package: avahi-tools

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

On Debian possible default full paths are:

/usr/bin/avahi-publish-address - from package: avahi-utils

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