TT Lab

한국어 English 日本語

Get started
Blog

Blog

How to Build Apache Zookeeper (Ubuntu 22.04)

Overview

Learn how to build Apache Zookeeper on Ubuntu.

Build Preparation (Ubuntu)

sudo apt-get install libcppunit-dev
sudo apt-get install python-setuptools python2.7-dev
sudo apt-get install openssl libssl-dev
sudo apt-get install libsasl2-modules-gssapi-mit libsasl2-modules libsasl2-dev

Build Zookeeper

git clone https://github.com/apache/zookeeper.git
cd zookeeper
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64  mvn clean install -DskipTests

Zookeeper Check

In the zookeeper/zookeeper-assembly/target folder, you can find the tar.gz file, which is the build artifact from the Zookeeper source.

zookeeper/zookeeper-assembly/target
zookeeper/zookeeper-assembly/target$ ls
antrun  apache-zookeeper-3.9.0-SNAPSHOT-bin.tar.gz  apache-zookeeper-3.9.0-SNAPSHOT-bin.tar.gz.sha512  archive-tmp

Quiz

Q1: What is the main topic covered in "How to Build Apache Zookeeper (Ubuntu 22.04)"?

Learn how to build Apache Zookeeper on Ubuntu 22.04.

Q2: What are the key takeaways from this article? Learn how to build Apache Zookeeper on Ubuntu 22.04.

Q3: How can the concepts in this article be applied in practice? Consider the practical examples and patterns discussed throughout the post.

Sign in to like

Comments

No comments yet.

Sign in to leave a comment