Report this

What is the reason for this report?

Why not install Composer through just apt install composer?

Posted on January 3, 2019

I am having trouble understanding why there’s a detailed article for installing Composer on an Ubuntu server. Cannot Composer be installed for all users on a server by simply running apt install composer?

Or, is there a benefit/advantage in installing Composer using the manual method described in the article that I am missing?

Thanks in advance.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey friend,

It may be desirable to have the latest version of Composer, as this isn’t something that interferes with normal system functionality by bypassing repo versions. The version installed by this article will be newer than the one installed via apt repository.

Jarland

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.