DNF is fedora’s (and its spinoffs) package management system It is somewhat similar to apt under Debian.

to update and upgrade sudo dnf upgrade --refresh to refresh without installing sudo dnf check-update to remove old/unused packages sudo dnf autoremove

to see how much space your apt cache is taking up on your hard drive sudo du -sh /var/cache/dnf/

to clean packages stored in your cache sudo dnf clean packages

or to clean the entire cache including repository metadata sudo dnf clean all

Nobara caveats

Although nobara is based on fedora and includes the dnf system, using dnf to do system upgrades is discouraged as it may break nobara tweaks to the system. Instead do nobara-sync and or nobara-updater cli which has extra secret sauce so to speak.