I have an Ubuntu machine an APC Smart-UPS RT 5000 XL UPS.

I'd like to configure the UPS to send shutdown messages to the client when there is a power outage but I can't figure out how to install the software on Ubuntu.

Is there any Ubuntu compliant version of APC PowerChute? Should I use `apcupsd`?