How to install Google Chrome on Fedora 41?

I’ve tried to install Google Chrome on a fresh installation of Fedora 41, but the official documentation doesn’t work anymore:

$ sudo dnf config-manager --set-enabled google-chrome
Unknown argument "--set-enabled" for command "config-manager". Add "--help" for more information about the arguments.

$ sudo dnf config-manager  --help
Usage:
  dnf5 [GLOBAL OPTIONS] config-manager <COMMAND> ...

Description:
  Manage main and repositories configuration, variables and add new repositories.
                                
Commands:                       
  addrepo                       Add repositories from the specified configuration file or define a new repo
                                sitory using user options
  setopt                        Set configuration and repositories options
  unsetopt                      Unset/remove configuration and repositories options
  setvar                        Set variables
  unsetvar                      Unset/remove variables

I don’t see any information about the change, it looks like dnf command was replaced with dnf5 and all documentation are obsolete.

How do I install Google Chrome from Command Line with DNF5?

Enable third-party repos rpm-fusion free and non free ones if you did not click the big blue button on first boot after installation to enable third-party repos

Then sudo dnf install google-chrome-stable

Man page says:

dnf config-manager setopt google-chrome.enabled=1
5 Likes