Unable to install RPM-PKG: you dont have permission to install software

hi, i had downloaded rpm file for virio from here

now i am trying to install it with gnome software,
but it says Unable to install RPM-PKG: you dont have permission to install software

why dont i have permission, i am admin on my fedora 34

you can use dnf or rpm commands to install an rpm package, see the following example…

sudo dnf install ./virtio-win.rpm
sudo rpm -i virtio-win.rpm

coming from MS Windows OS? Admin rights work differently in Linux:

There is a user called “root”, which is the only admin on your system but you never login to your graphical session in as root. In newer Fedora releases, there is not even a password set for root.

For a regular user, there is the ability to become superuser (do what root can do) for a single action or command. Maybe that is what you mean. So, Gnome should pop up and asks for a password through something called PolicyKit. On command line, after using sudo <command> you are being asked your password.

Also see: sudo - How do I run a command as the system administrator (root) - Unix & Linux Stack Exchange

1 Like