@Zanna Even if you don't agree that the question is off topic I think it would still be a better idea to close it as a duplicate of
Open RAW image files in GIMP that works on all versions of GIMP, including GIMP 2.10 from the default repositories in 18.10. However the accepted answer does not work on snap or flatpak packages, only apt packages.