Ask Your Question

Revision history [back]

Fedora doesn't have composer in its official repository or RPMFusion. It seems that Shawn Iwinski is interested in getting this packaged into fedora repo. He talks about this in Fedora-php-devel-list.

He did some work on getting composer packaged into an RPM and you can see it on GitHub. It seems that he is maintaining a repo for composer and its configuration file for yum is available here: (I would like to note that, I haven't tested this.)

Or you can manually install it using the following commands:

$ curl -sS | php
$ sudo mv composer.phar /usr/local/bin/composer

This will install composer on '/usr/local/bin' and you can access composer via the command composer

$ composer --version

You can update composer with the following command:

$ sudo /usr/local/bin/composer --self-update