How to Install Composer on RHEL 8
Hi, nice to meet you again, what's wrong with you guys straying into my article? Are you confused about installing composer? If so, you are right and can follow this article to the end. Because I made a tutorial to install composer on RHEL 8.
To install composer you must already have PHP installed on your server. Here I use PHP 7.4 which is already installed on my own server.
Check Version PHP |
The installation method is quite simple, it only takes a few steps.
Preparation
To get started you need to download the composer installer how to:
$ sudo wget https://getcomposer.org/installer -O composer-installer.php
wget installer composer |
Installing
Once downloaded, you just have to install it by:
$ sudo php composer-installer.php --filename=composer --install-dir=/usr/bin
Installing Composer |
Pretty easy isn't it? So that's how it is for installation.
Trying
You can check whether composer is installed on the server by checking the version.
$ composer -V
Check Version Composer |
$ composer install
$ composer update
Maybe that's all I can share with my friends, if you have any questions you can contact me, thank you.
Post a Comment for "How to Install Composer on RHEL 8"