- Download the Confluent Platform tar:
$ wget https://packages.confluent.io/archive/6.2/confluent-6.2.0.tar.gz -P ~/Downloads/
- Extract it and make a symlink for easy updating:
$ tar -xzf ~/Downloads/confluent-6.2.0.tar.gz -C ~/Downloads/ && \
sudo mv ~/Downloads/confluent-6.2.0 /usr/lib/ && \
sudo rm -f /usr/lib/confluent && \
sudo ln -s /usr/lib/confluent-6.2.0 /usr/lib/confluent && \
ls -al /usr/lib/confluent
- Delete the tar to save disk-space when you're done:
$ rm ~/Downloads/confluent-6.2.0.tar.gz
- Add the bin path to your
~/.profile
(and restart or source the file, as needed)
# set confluent bin path
export CONFLUENT_HOME=/usr/lib/confluent
if [ -d "${CONFLUENT_HOME}/bin" ]; then
PATH="${CONFLUENT_HOME}/bin:$PATH"
fi
- Start/Stop/Destroy Local Confluent by running commands like:
confluent local services start; # Start All Local Services
confluent local services stop; # Stop All Local Services
confluent local destroy; # Stop & Remove All Local Service Configurations, Changes, etc.
- See more options in the Confluent CLI Reference Documentation