Installation de Drush sur CentOS 8

Voici comment installer Drush (utilitaire de gestion pour Drupal en ligne de commande) sous CentOS 8.

1) Installation de Git et Composer

yum -y install git php-process
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

2) Installation de Drush pour Drupal 7

git clone https://github.com/drush-ops/drush.git /usr/local/src/drush
ln -s /usr/local/src/drush/drush /usr/bin/drush
cd /usr/local/src/drush
git checkout 7.0.0
composer install

3) Vérification de l’installation

drush --version

Source : https://www.linode.com/docs/websites/cms/drupal/drush-drupal/how-to-install-drush-on-centos-8/