Question

Why not install Composer through just apt install composer?

Posted January 3, 2019 727 views
DigitalOcean ArticlesUbuntu 18.04

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.

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.

×
1 answer

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

Submit an Answer