Skip to content

Installing an RPM - Yum is antiquated and the command does not use Sudo #1338

@thesolomon-tech

Description

@thesolomon-tech

Hello,
I was following the guide to install Stripe CLI on Fedora and noticed that the command does not use Sudo.

echo -e "[Stripe]\nname=stripe\nbaseurl=https://packages.stripe.dev/stripe-cli-rpm-local/\nenabled=1\ngpgcheck=0" >> /etc/yum.repos.d/stripe.repo

Would it be better to use the following?

echo -e "[Stripe]\nname=stripe\nbaseurl=https://packages.stripe.dev/stripe-cli-rpm-local/\nenabled=1\ngpgcheck=1" | sudo tee /etc/yum.repos.d/stripe.repo > /dev/null

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions