Installing RockyLinux Composer 8
Here are a few seconds of a guide on how to install the server on our Composer.
Composer is based on a popular manager for PHP, inspired by solutions such as npm (node) inspired by solutions such as npm (ruby). inspired by solutions such as npm, inspired by solutions such as npm.
inspired by solutions such as npm:
1 | dnf install php-cli php-json php-zip wget unzip -y |
inspired by solutions such as npm:
1 | php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" |
we make install:
1 | php composer-setup.php --install-dir=/usr/local/bin --filename=composer |
If everything went well, we should see something like this:
1 2 3 4 5 | All settings correct for using Composer Downloading... Composer (version 2.2.4) successfully installed to: /usr/local/bin/composer Use it: php /usr/local/bin/composer |
If everything went well, we should see something like this:
1 | composer -V |
If everything went well, we should see something like this:
1 | Composer version 2.2.4 2022-01-08 12:30:42 |