[CentOS] [External] Re: Installing a single rpm package from desktop/browser on CentOS 7

Mon Feb 24 14:46:14 UTC 2020
Pete Biggs <pete at biggs.org.uk>

> In many case, but in the situations I'm talking about here is really a 
> lot more cumbersome to use. To use the command line to install a a 
> package from a website, I have to
>  1. Right-click
>  2. Select Save Link As
>  3. Enter filename/directory
>  4. Open a terminal
>  5. Remember where I put the bloody file
>  6. Run yum to actually install it.

yum (and rpm) can install from the web

1. Right-click
2. Copy link location
3. yum install <paste link location>

> Compare that to
>  1. Click on the link
>  2. Hey, there's no step 2.
> The 2nd variant is something that's was working for about 15 years, but 
> I guess that was before someone decided to make the system "user 
> friendly"...

Without getting emotional about it you need to think what happens when
you click on a link in a web browser, i.e. how does the browser know to
install this link you've just clicked on and what does it have to do in
order to install it. Personally, I think having RPMs installable with a
single click is a bad idea - they are as dangerous as .exe on Windows
systems. Having said that, on my Fedora system clicking on an RPM
downloads it (with a warnning), then double clicking on the downloaded
RPM in the browser launches "Gnome Software" to install it: no
terminals involved and you never have to take your hand off the mouse.

Things may be different if you aren't using Gnome or it may be
different for another browser.