installing Composer 2 to ubuntu fails #9743
Unanswered
brianronnow
asked this question in
Q&A / Support
Replies: 1 comment 5 replies
-
Did you by chance also install Composer through Ubuntu's package manager? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there
First i am pretty new at this with composer.
I am trying to get composer to use at my Laravel project.
I have read the instructions
And when i test for the version it came with this:
brian@brian-ubuntu:~/code/laravel$ composer --version
Composer 1.10.1 2020-03-13 20:34:27
I have used this code to install:
hp -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
What do i do wrong?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions