2

I was trying to add brave key to fedora repository. I am behind a http-proxy, so I am unable to connect.I wonder what utility (like wget or curl) does rpm use to download the keys? so that I can add proxy settings to that utility.

1

The original document says

sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

You can set the proxy on this line

eg

sudo env https_proxy=http://your.proxy.example.com:8080 rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

If you have a root shell (su) instead of using sudo then you can simply do

https_proxy=http://your.proxy.example.com:8080 rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
  • That solved it. The Idea of custom variables, Super cool. – squarepluto Mar 30 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.