So it appears that the PEAR Drush channel is going away. (It seems to be working at this moment, but occasionally of late I’ve been getting “Discovery of channel pear.drush.org failed” messages. That means you’ll need to use either Composer or a manual procedure for installing Drush:
$ cd /opt $ git clone https://github.com/drush-ops/drush.git $ ln -s /opt/drush/drush /usr/sbin/drush
Alternatively you could add the path to Drush to the PATH statement of your .profile or .bashrc. I prefer to just make it accessible system-wide by linking it to the usual places in the PATH statement.
Test that Drush can be seen by your system:
$ which drush /usr/sbin/drush $ drush --version Drush Version : 6.2.0
Finally, copy the /path/to/drush/examples/example.drushrc.php file to a location where Drush can see it. I typically just put it in /etc/drush/ for system-wide aliases.
The post Installing Drush Without the PEAR Channel appeared first on GeoffStratton.com.