To upgrade a major version (43 to 44 in this example) you can use these commands.
sudo dnf upgrade --refresh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --releasever=44
sudo dnf5 offline reboot
sudo dnf upgrade --refresh: Upgrade system with —refresh for ignoring local cache, downloading latest metadatasudo dnf install dnf-plugin-system-upgrade: Plugin necessary for OS updatesudo dnf system-upgrade download --releasever=44: Download the required packages for system upatesudo dnf5 offline reboot: Installs the update.
BACKING UP HOME DIRECTORY IS HIGHLY SUGGESTED