Why not install Composer through just apt install composer?

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.


Submit an 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.