forked from apache/zookeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README_packaging.txt
45 lines (30 loc) · 1.32 KB
/
README_packaging.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
README file for Packaging Notes
Requirement
-----------
ant (recommended version 1.9.4 or later for concurrent JUnit test execution)
gcc, cppunit and python-setuptools are required to build
C and python bindings.
On RHEL machine:
yum install cppunit
yum install python-setuptools
On Ubuntu:
apt-get --install cppunit
apt-get --install python-setuptools
Package build command
---------------------
The ZooKeeper project publishes releases as tarballs. For ZooKeeper packages
specific to your OS (such as rpm and deb), consider using Apache Bigtop:
http://bigtop.apache.org/
Command to build tarball package: ant tar
zookeeper-<version>.tar.gz tarball file structure layout
/bin - User executable
/sbin - System executable
/libexec - Configuration boot trap script
/lib - Library dependencies
/docs - Documents
/share/zookeeper - Project files
Command to build tarball package with native components: ant package-native tar
zookeeper-<version>-lib.tar.gz tarball file structure layout
/bin - User executable
/lib - Native libraries
/include/zookeeper - Native library headers