packages being installed without being required

I was wondering why my image had apps that I didn't use, and I discovered that it was installing packages recommended by other packages. I found out where wofi came from, but I have no idea about nwg-panel. https://github.com/Heus-Sueh/hyprland/actions/runs/12527697431/job/34941530740#step:2:2938 https://github.com/Heus-Sueh/hyprland/actions/runs/12527697431/job/34941530740#step:2:2911 https://github.com/Heus-Sueh/hyprland/blob/main/recipes/modules/pkgs.yml I ended up finding this command that helped me find out which package was requiring or recommending wofi:
dnf5 repoquery --whatdepends <package-name>
dnf5 repoquery --whatdepends <package-name>
2 Replies
Luke Skywunker
By default, rpm-ostree will install recommended packages. We're working on the new dnf module for dnf5 and we'll have the option to not install recommended packages.
Luke Skywunker
GitHub
feat: dnf module · Issue #361 · blue-build/modules
A dnf module will eventually replace the rpm-ostree module. We should start investigating usage of dnf5 on atomic Fedora systems to determine a reasonable timeline for development of such a module....
GitHub
feat: dnf module by fiftydinar · Pull Request #377 · blue-build/m...
Changes Recipe format Recipe format changed a bit, to satisfy the new feature of dnf flags. Existing features code changes Adding repos is now using dnf -y config-manager addrepo --from-repofile...

Did you find this page helpful?