Simulate DNF install without changing system (dnf)
dnf --assumeno install package1
Runs a DNF transaction that shows what would be done but aborts instead of applying changes, letting you preview packages to be installed or removed without modifying the system.