Skip to content

Provide a simple download link for iofogctl #135

Open

Description

@ctron

In the installation instructions of iofogctl I can't find any simple download link for the Linux binary.

See: https://iofog.org/docs/2/iofogctl/download.html

And I don't want to run some shell script with sudo access directly from curl.

As you provided the link for Windows, I think it makes sense to do the same for Linux and Mac OS X.

Just like others do it as well: https://github.com/helm/helm/releases

Activity

  1. Pixcell commented on Nov 25, 2020

    @Pixcell
    Contributor

    @ctron I understand the reticency to run a script using sudo. However this is standard practice if you want to use your linux package manager to install iofogctl and be able to manage updates. We haven't written this script ourselves, it is provided by our cloud package provider (https://packagecloud.io/)

    Here are the manual installation steps: https://packagecloud.io/iofog/iofogctl/install#manual-deb

    We should probably add those as an option in our documention

  2. ctron commented on Sep 23, 2021

    @ctron
    ContributorAuthor

    "Standard practice" is a bit far fetched. Yes, a package manager like RPM is standard practice. "curling" and running scripts as sudo however is not.

    Maybe take some inspiration from the kubectl tools: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

    • The first option is a plain download link
    • The second option is a native package manager, including a transparent process to add the channel (including keys)

    Also other tools, simply provide a download link (no root access required):

    So if you want to make it easy, provide a simple download link. Additional options maybe helpful, but might also cause more problems.

  3. sergerad commented on Sep 23, 2021

    @sergerad
    Contributor

    @ctron currently working on it. If you want to download a dev binary in the meantime:

    https://storage.googleapis.com/iofogctl/linux/dev/3.0/iofogctl

  4. sergerad commented on Sep 23, 2021

    @sergerad
    Contributor

    Staging iofog.org is updated with instructions to install release binary: http://iofog.staging.edgeworx.io/docs/3/iofogctl/download.html#install-iofogctl-on-linux

  5. ctron commented on Sep 27, 2021

    @ctron
    ContributorAuthor

    This is definitely an improvement. But what speaks against using plain and simple GitHub releases downloads?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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