0

I need to downgrade from gcc-13 to gcc-12 for multiple projects to compile. I couldn't find a straight forward way of doing so.

dnf list gcc just shows me version 13.

ohboy21
  • 113

1 Answers1

-1

You can install using a specific name-version as described in the man page:

dnf install gcc-12.0.0-0.3.fc36

To view all versions of a package in your enabled repositories, use:

dnf --showduplicates list <package>