redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

docs: howto download .tar.gz binary

Open alippai opened this issue 3 years ago • 16 comments

are there docs describing how to set up Redpanda manually using normal users (and the additional system config to be changed on top of that)?

alippai avatar Oct 18 '21 13:10 alippai

Maybe using nixos/nixpkgs or conda-forge? Shipping a static executable? I'm not familiar with the challenges Redpanda is facing, but maybe these are worthwhile ideas.

alippai avatar Oct 20 '21 18:10 alippai

@alippai - we run it ourselves in non root mode, doesn't apt support that out of the box. hmm. it may already work but not documented. good point on nixpkgs. maybe using .tar.gz too would work.

@ivotron do we expose the .tar.gz?

emaxerrno avatar Oct 20 '21 22:10 emaxerrno

I've just realized, that simply going to the GitHub releases is the binary I need. I'll try it out soon :)

alippai avatar Oct 20 '21 22:10 alippai

I've just realized, that simply going to the GitHub releases is the binary I need. I'll try it out soon :)

I don’t think it has the Redpanda compiled for release Binaries there yet. But that’s a good point, we should

emaxerrno avatar Oct 20 '21 23:10 emaxerrno

the tarball can be fetched by doing:

curl -O 'https://packages.vectorized.io/IN7hAIHGa2hCp3j5/redpanda/raw/names/redpanda-amd64/versions/21.9.5/redpanda-21.9.5-1-e19c3f2a-amd64.tar.gz'

binaries assume they'll get untarred to /opt/redpanda though.

ivotron avatar Oct 21 '21 06:10 ivotron

@senior7515 @ivotron is this something we want to promote to a docs ticket? Or shall we close this?

jcsp avatar Oct 28 '21 15:10 jcsp

@ivotron can we combine the curl of getting latest version w/ curl of downloading the package into 1 command in the docs?

emaxerrno avatar Oct 28 '21 16:10 emaxerrno

Is there any plan to make it work outside /opt/redpanda by some config or is this a non-goal?

alippai avatar Oct 28 '21 16:10 alippai

@alippai - yeah, i don't see why not. the issue is all of this is generated at runtime by our build, so we just have to add it there.

but let's add another ticket to track that. i don't see why not.

cc: @ivotron

emaxerrno avatar Oct 28 '21 16:10 emaxerrno

@ivotron can we combine the curl of getting latest version w/ curl of downloading the package into 1 command in the docs?

do you mean having a new tab on the website? Like a new Linux (or TGZ) tab?:

RPM | DEB | Linux | MacOS | Kubernetes

ivotron avatar Oct 29 '21 04:10 ivotron

Just on docs. If we remove the sha sum then the path is predictable

emaxerrno avatar Oct 29 '21 06:10 emaxerrno

the change for removing the sha from the tarball has been committed. so the docs can be updated with the predictable URL scheme:

https://packages.vectorized.io/IN7hAIHGa2hCp3j5/redpanda/raw/names/redpanda-{{ARCH}}/versions/{{VERSION}}/redpanda-{{VERSION}}-{{ARCH}}.tar.gz'

cc: @bmansheim

ivotron avatar Nov 08 '21 18:11 ivotron

NOTE: that won't be backwards compatible, so older releases still have the SHA in the URL, so 21.10.1 will be the first release without the sha in it

ivotron avatar Nov 08 '21 18:11 ivotron

This one is still open right ? Is there a current link to download a .tgz of the redpanda install ? Why not just add it to the github releases ? What's included there right now is just the rpk binary right ? The docs only refer to red had ( using redpandas repo ) and ubuntu / debian. Neither of those are an option for us trialing in a corporate environment. It would be great if there was a simple .tgz available to pull down and quickly try out. Or maybe that already exists and I'm just not able to find it.

Imaclean74 avatar Nov 08 '22 03:11 Imaclean74

still open. you can do it manually by asking apt to download the .deb and extracting the binary to a local dir. defintely a PITA. we should fix. but that's the only work around. rpm has the same abilities.

emaxerrno avatar Nov 08 '22 05:11 emaxerrno

cheers. I did that. on my home machine. However, it's a little tougher to do the same on a company system. Since we're not able to easily access third-party deb/rpm repos.

Imaclean74 avatar Nov 20 '22 12:11 Imaclean74

@Imaclean74 - we will be adding instructions on github on how to download it.

basically should be PLATFORM={x86, arm} VERSION={...} curl http:-style curl for folks to download it.

cc: @ivotron

emaxerrno avatar Nov 21 '22 04:11 emaxerrno