Ask Your Question

Does Fedora has composer in the repo

asked 2014-09-04 11:54:13 -0500

roelof1967 gravatar image


I like to try to laveral platform. For installation I need composer.

Does F20 has that one in the repo.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-09-05 03:50:31 -0500

Jomoos gravatar image

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
edit flag offensive delete link more


The repo in fedora-people is currently empty. There are no actual built packages there. I had some luck with installing from Shawn's COPR here: . though there is a package only for EPEL 6, it seemed to work well on Fedora.

guss77 gravatar imageguss77 ( 2015-04-12 04:56:45 -0500 )edit

The option to self-update the composer is self-update, not --self-update. At least with the version I have: Composer version 1.0-dev (c8c452de13f626ab105c5414f05302a2cbcd8a75) 2015-05-10 14:20:27.

rineau gravatar imagerineau ( 2015-05-10 10:09:02 -0500 )edit

answered 2015-09-24 08:31:33 -0500

remi gravatar image

composer is now available in Fedora repository.

edit flag offensive delete link more

Question Tools



Asked: 2014-09-04 11:54:13 -0500

Seen: 4,615 times

Last updated: Sep 05 '14