Drush Installation

Automatic Installation on Ubuntu

Drush is a command-line utility that allows for non-graphical access to the Drupal website. You can use it to automatically download and install themes and modules, clear the Drupal cache, upgrade the site and more. Tripal v2.0 supports Drush. For this tutorial we will use Drush and therefore we want the most recent version installed. Drush can be found on a GitHub page at https://github.com/drush-ops/drush. For Ubuntu, Drush can be installed simply by issuing the following command:

  sudo apt-get install drush

Manual Installation

For UNIX distributions without an automatic installation method, Drush can be installed manually.  Drush is officially housed in a GitHub project at https://github.com/drush-ops/drush.  To install Drush, first clone the drush project in a temporary directory:

cd /tmp
git clone https://github.com/drush-ops/drush.git

Be sure to checkout the 6.4.0 version of Drush.  There is an incompatibility with Tripal in the 7.0-dev branch. To do this, use the 'checkout' command of git:

git checkout 6.4.0

Then, follow the instructions in the README.md file to complete installation on your system.