Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installable via OS package managers #641

Open
bacongobbler opened this issue Jul 14, 2022 · 7 comments
Open

Installable via OS package managers #641

bacongobbler opened this issue Jul 14, 2022 · 7 comments
Assignees
Labels

Comments

@bacongobbler
Copy link
Member

bacongobbler commented Jul 14, 2022

As a user, I'd love to install the spin CLI similar to how I'd install other packages on Linux - through apt.

Something similar to

$ curl -fsSL https://apt.releases.fermyon.dev/gpg | sudo apt-key add -
$ sudo apt-add-repository "deb [arch=amd64] https://apt.releases.fermyon.dev $(lsb_release -cs) main"
$ sudo apt-get update && sudo apt-get install spin

(note: this is a very similar experience for HashiCorp's installation instructions for nomad, consul, vault, etc.)

@radu-matei radu-matei changed the title installable via apt Installable via OS package managers Jul 15, 2022
@radu-matei
Copy link
Member

I'd expand the scope of this and suggest we look at supporting package managers for macOS and Window as well.

@neodon
Copy link

neodon commented Dec 31, 2022

I look for any kind of managed way to install something before sighing and running an installer script. Having only this option could be a deterrent for some types of devs to try out Fermyon. I realize it's a lot more work to define and generate other installation methods, however, so I understand if it's not time for this just yet.

Also, I'll just mention Homebrew on Linux here since it doesn't seem well-known. Or people automatically treat it as heretical without learning more. I've been using it for a few years and it's been pretty awesome, especially when I want to match up versions of software on my Mac and Linux PC. It uses the same package sources for both, so it would provide an option to release often on both--if you can get people to try it.

@radu-matei
Copy link
Member

Hi, @neodon, thanks for the comment!
I agree, which is why I think this issue is something we want to prioritize really soon.
Particularly for the default package managers on Debian, macOS and Windows.

@kate-goldenring
Copy link
Contributor

kate-goldenring commented Feb 7, 2023

The spin software validation tool has claimed the spin package name in many OS package managers (brew , apt , chocolatey at minimum).

It seems like we may want to prioritize brew, apt, and chocolatey, for all of which spin is taken.

Wanted to kick off some brainstorming on alternative package names:

  • fermyon-spin
  • spin-up

Also, for brew, I am not familiar with how difficult it is to create a bottle that can be directly installed with brew install vs creating a fermyon tap that needs to be installed first. I am assuming creating a fermyon tap is easier, creating an installation experience similar to Nomad's.

@bacongobbler
Copy link
Member Author

bacongobbler commented Feb 8, 2023

IIRC Homebrew does allow taps to be namespaced such that you can do a brew install fermyon/spin. This requires you to maintain your own tap.

https://github.com/Homebrew/brew/blob/master/docs/Taps.md

This is what we did for Draft: https://github.com/Azure/homebrew-draft

But yeah, rather unfortunate that we can't namespace the package for apt or chocolatey...

In cases where a name conflict arises and concepts like namespacing does not exist, I think fermyon-spin would be most appropriate. It would match a "namespaced" pattern where the company name comes before the package name.

@bacongobbler
Copy link
Member Author

Found this while browsing how to create DEB packages: https://www.makeuseof.com/create-deb-packages-debian-ubuntu/

@ThorstenHans
Copy link
Contributor

Any thoughts or any process regarding publishing a Fermyon PPA (Personal Package Archive)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🔖 Backlog
Status: Post 1.0
Development

No branches or pull requests

6 participants