Data-plane-api installation Error

Hi, I’m trying to install the dataplane API but, after creating the /etc/haproxy/dataplaneapi.hcl file and checking if it’s correct;

$ sudo dataplaneapi -f /etc/haproxy/dataplaneapi.hcl

The system returns me:

sudo: dataplaneapi: command not found

I have put the dataplaneapi.hcl content exactly as it appears in the documentation, substituting the username and host names.

I don’t know why it doesn’t recognize the command,

Thank you.

The error is that dataplaneapi itself isn’t found, which means you’ve not gone through the Installation process correctly.