Why not install Composer through just apt install composer?

January 3, 2019 520 views
DigitalOcean Articles Ubuntu 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.

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

Have another answer? Share your knowledge.