First, there’s no setacl in Linux. Instead, it has setfacl. Take note of the f. Second, setfacl is part of the access control list(acl) package so we install the acl intead of setfacl. In that way, we also install getfacl.
yum -y install acl
Ok, that’s for CentOS and other RedHat alternatives. I believe it is
sudo apt-get acl for Debian/Ubuntu flavors.