What is the proper way to install rpm files? After I download a rpm file and open it it opens in Roller (?!) which is kind of useless to install stuff. If I right click there is the option to select Discover which also does not install anything.
Is there a gui way to install .rpm files?
(and why is installing made so hard)
sudo dnf install /path/to/file.rpm
for gui right click open in gnome software or discover
With gnome files (nautilus) mkdir -p ~/.local/share/nautilus/scripts
mkdir -p ~/.local/share/nautilus/scripts
You’ll want to make a script in the above directory. I use this script, and call it dnfinstall:
#!/usr/bin/env bash ptyxis -x "bash -c 'sudo dnf install "${1}"; read -t 30 -p \"Press Enter to Exit Terminal\" ' "
On my system it’s named dnfinstall You’ll need to make the script executable. chmod +x dnfinstall
chmod +x dnfinstall
In gnome files right click on the file, select scripts and then select dnfinstall