Skip to content

Update installation instructions for Fedora #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simonhammes
Copy link

No description provided.

@@ -26,8 +26,7 @@ <h2>Installing on Linux <a name='linux' href="#linux">#</a></h2>
<code>sudo yum install php81-php-xdebug3</code>
</li>
<li><strong>Debian</strong> (9/stretch, testing/buster/bullseye/sid):<br/><code>sudo apt-get install <a href='https://packages.debian.org/search?keywords=php-xdebug'>php-xdebug</a></code></li>
<li><strong>Fedora</strong> (32):<br/><code>sudo yum install php-xdebug</code></li>
<li><strong>Fedora</strong> (Remi Repo):<br/><code>sudo yum install php74-php-xdebug3</code></li>
<li><strong>Fedora</strong>:<br/><code>sudo dnf install <a href='https://packages.fedoraproject.org/pkgs/php-pecl-xdebug3/php-pecl-xdebug3/'>php-pecl-xdebug3</a></code></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is right. There is surely still a difference between Fedora itself, and Remi's Repo?

/cc @remicollet

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for not adding a comment regarding this.

php-pecl-xdebug3 is (at the moment; I'm not sure since which version) part of the offical Fedora repositories (packaged by Remi) so I was unsure whether I should keep the mention of the custom repository or not.

Copy link

@remicollet remicollet Jun 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xdebug is part of Fedora for years (at least 2006, and FC6)

The best command for any "foo" extension is "dnf install php-foo", so "dnf install php-xdebug", users don't have to worry about the package name. It was php-pecl-xdebug in the past (v2), it is php-pecl-xdebug3, for now, and maybe php-pecl-xdebug4 is the future (or something else, as "pecl" may disappear)

The command is the same with my repo for standard installation of default / single versions.
The "php74-php-xdebug" case is for multiple versions installation, not the common case, so it can probably be removed (and is explained by the Wizard to the repo user)

And the same changes can be applied to the RHEL and clones case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants