Hi, I install WordPress on Fedora and I want to use Composer.
I search with the DNF tool and I saw many packages:
# dnf search Composer
How can I use it. Any help?
Hello @mythcat …! Welcome to the community! Please do take a few minutes to go over the introductory posts in #start-here when you have the time. They contain lots of useful information.
composer is in update repo in
Name : composer
Version : 2.0.8
Release : 1.fc33
Architecture : noarch
Size : 410 k
Source : composer-2.0.8-1.fc33.src.rpm
Repository : updates
Summary : Dependency Manager for PHP
URL : https://getcomposer.org/
License : MIT
Description : Composer helps you declare, manage and install dependencies of
: PHP projects, ensuring you have the right stack everywhere.
:
: Documentation: https://getcomposer.org/doc/
what is the output of this two commands?:
dnf repolist
dnf repolist enabled
Regards.,
1 Like
My repo list is set to default …
this is a result of searching Composer
[root@desk mythcat]# dnf search Composer
Last metadata expiration check: 0:31:07 ago on Thu 11 Feb 2021 08:39:26 PM EET.
======================= Name & Summary Matched: Composer =======================
bodhi-composer.noarch : Bodhi composer backend
cockpit-composer.noarch : Composer GUI for use with Cockpit
composer-cli.x86_64 : A command line tool for use with the lorax-composer API
: server
lorax-composer.x86_64 : Lorax Image Composer API Server
osbuild-composer-worker.x86_64 : The worker for osbuild-composer
php-composer-installers.noarch : A multi-framework Composer library installer
screenie-composer.x86_64 : Fancy screenshot composer
============================ Name Matched: Composer ============================
composer.noarch : Dependency Manager for PHP
osbuild-composer.x86_64 : An image building service based on osbuild
php-composer-ca-bundle.noarch : Lets you find a path to the system CA
php-composer-semver.noarch : Semver library version 1
php-composer-semver2.noarch : Semver library version 2
php-composer-semver3.noarch : Semver library version 3
php-composer-spdx-licenses.noarch : SPDX licenses list and validation library
php-composer-xdebug-handler.noarch : Restarts a process without Xdebug
========================== Summary Matched: Composer ===========================
audacious-plugin-fc.x86_64 : Future Composer input plugin for Audacious
gstreamer1-plugins-fc.i686 : Future Composer input plugin for GStreamer 1.0.x
gstreamer1-plugins-fc.x86_64 : Future Composer input plugin for GStreamer 1.0.x
koji-osbuild.noarch : Koji integration for osbuild composer
koji-osbuild-builder.noarch : Koji hub plugin for osbuild composer integration
koji-osbuild-cli.noarch : Koji client plugin for osbuild composer integration
koji-osbuild-hub.noarch : Koji hub plugin for osbuild composer integration
libfc14audiodecoder.i686 : C wrapper library for Future Composer audio decoding
libfc14audiodecoder.x86_64 : C wrapper library for Future Composer audio
: decoding
php-sensiolabs-security-checker.noarch : A security checker for your
: composer.lock
schismtracker.x86_64 : Sound module composer/player
soundtracker.x86_64 : Sound module composer/player
Hi, just do
sudo dnf install composer
it will install composer and all it’s depdendecies from composer.noarch that is just a metapackage
1 Like
Thank you.