You can install cpanel interface to install PEAR packages, but if interface does not provide all the options then you have to use command-line.
You can install PEAR modules with command line, you have to login as user.
After you logged in as user, you have to use the full path of cpanel PEAR...