sudo: pecl: command not found code example
Example 1: pecl: command not found
apt install php-pear
Example 2: sudo cd command not found
sudo -i
cd /var/named
Example 3: sudo: apt: command not found
If apt is not found so Linux is CentOS which is RedHat-based
RedHat installs use yum not apt-get