The PEAR channel makes it even easier to install and upgrade Sugar. The channel can be installed using the command:
pear channel-discover pear.php-sugar.net
Once the channel is installed, the Sugar package can be installed using the command:
pear install sugar/Sugar-alpha
After installation, your PHP applications can easily access the Sugar engine. Assuming that the PEAR installation path is in the PHP include path, Sugar can be included using: