Ask Your Question

Install software without root?

asked 2018-02-18 02:22:06 -0500

Hi everyone,I'm new to fedora. I met something strange when I am working on it: I logged in as normal user(not root but sudo works),typed "nano" to try to use this editor however it was not on my computer. The command panel reported that nano is not found and after a while it asked me whether to install it. I typed yes and it just start to install it without any password required. Doesn't Software management requires root privileges?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-18 06:10:40 -0500

FranciscoD_ gravatar image

Hi! Welcome to AskFedora!

It does, yes, but there are different ways of providing the authentication. One way, which is necessary when using DNF, is to use sudo and then explicitly authenticate. The prompt that you saw was from PackageKit (the plugin is packaged in PackageKit-command-not-found). PackageKit is aimed at end-users that use the GUI. So, Gnome-software, for example, uses PackageKit. PackageKit uses Polkit for authentication. So, if you do have sudo rights and have entered your password once somewhere, PolKit will permit packagekit to run the next command without asking you for your password again. Sudo does something similar. If you use it in quick successsion, you don't have to authenticate each time.

edit flag offensive delete link more


Thank you so much. How amazing fedora is!

tonyzhao gravatar imagetonyzhao ( 2018-02-18 07:35:02 -0500 )edit

Question Tools


Asked: 2018-02-18 02:22:06 -0500

Seen: 718 times

Last updated: Feb 18 '18