Install a package with specific options in DNF
dnf --setopt=strict=0 --setopt=install_weak_deps=False install nano
Installs the nano package while disabling strict mode and preventing the installation of weak dependencies.
dnf --setopt=strict=0 --setopt=install_weak_deps=False install nano
Installs the nano package while disabling strict mode and preventing the installation of weak dependencies.