Installation files are designed for RedHat like distros.
Set the AVAST4DIR environment variable to ‘/var/lib/avast4’ (path to the avast! engine library) and it will be OK.