Install drush server wide in under a minute
from:: http://openspring.net/tip/how-to-install-drush-serverwide-in-less-than-o...
Having Drush installed server wide is handy, especially if you have several users logging on the server. Use the appropriate url for the tarball, you can find the latest release of drush at http://drupal.org/project/drush. The lines below assume you have sudo access. If you don't, please check the README.txt file for other options. The commands below have been tested successfully on Debian, Ubuntu, CentOS and should work for most *NIX systems.
cd /usr/local/share/
##sudo wget http://ftp.drupal.org/files/projects/drush-6.x-3.3.tar.gz
##sudo tar zxvf drush-6.x-3.3.tar.gz
##sudo rm drush-6.x-3.3.tar.gz
sudo wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz
sudo tar zxvf drush-7.x-4.4.tar.gz
sudo rm drush-7.x-4.4.tar.gz
sudo ln -s /usr/local/share/drush/drush /usr/local/bin/drush
sudo drushThe last line is for Drush to auto download the required table.inc library. If it displays a list of drush command, it means drush was installed successfully!
Some machines might not have the right folders created, so either update the paths above to match your environment, or use touch to create them:
sudo mkdir /usr/local/share/
sudo mkdir /usr/local/bin/For those using liquidweb vps I can verify this works, and is as quick as the original post claimed. Just be carefull you use the right account when doing an upgrade or you could find yourself wondering wtf happened when the permmissions get moxed for a few moments till you look at a quick ls -o and see it. Yeah, eheheh that would be the voice of experience speaking there.