I can't extract apache kafka

Connected Tutorial
This question is a follow-up to this tutorial:


I can’t extract apache kafka :

kafka@ubuntu-ThinkPad-X250:~/Downloads$ tar -xvzf ~/Downloads/kafka.tgz --strip 1

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Thank you in advance to help myself fully run apache kafka,



Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

you have both right i have success to install apache kafka i have just one problem my password for kafka doesn’t work !



Hi there,

The link to the Kafka tar file should be the following:

 curl "" -o ~/Downloads/kafka.tgz

Let me know how it goes. Best, Bobby

Hello, @Azaretdodo

Can you confirm that the kafka.tgz was download without any errors using the curl command?

  1. curl "" -o ~/Downloads/kafka.tgz

You can also use wget instead of curl just as a test option and make sure to check the output of the command and see if the file is downloaded in the correct format when using wget the Length in the download output should be:


Hope that this helps! Regards, Alex