HADOOP-17508. Simplify deps install instructions (#2664)
(cherry picked from commit a163aa7394
)
Conflicts:
BUILDING.txt
This commit is contained in:
parent
b431c6924a
commit
58a9640f8e
15
BUILDING.txt
15
BUILDING.txt
@ -63,15 +63,12 @@ Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
|
|||||||
* Native libraries
|
* Native libraries
|
||||||
$ sudo apt-get -y install build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev libsasl2-dev
|
$ sudo apt-get -y install build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev libsasl2-dev
|
||||||
* Protocol Buffers 3.7.1 (required to build native code)
|
* Protocol Buffers 3.7.1 (required to build native code)
|
||||||
$ mkdir -p /opt/protobuf-3.7-src \
|
$ curl -L -s -S https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protobuf-java-3.7.1.tar.gz -o protobuf-3.7.1.tar.gz
|
||||||
&& curl -L -s -S \
|
$ mkdir protobuf-3.7-src
|
||||||
https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protobuf-java-3.7.1.tar.gz \
|
$ tar xzf protobuf-3.7.1.tar.gz --strip-components 1 -C protobuf-3.7-src && cd protobuf-3.7-src
|
||||||
-o /opt/protobuf-3.7.1.tar.gz \
|
$ ./configure
|
||||||
&& tar xzf /opt/protobuf-3.7.1.tar.gz --strip-components 1 -C /opt/protobuf-3.7-src \
|
$ make -j$(nproc)
|
||||||
&& cd /opt/protobuf-3.7-src \
|
$ sudo make install
|
||||||
&& ./configure\
|
|
||||||
&& make install \
|
|
||||||
&& rm -rf /opt/protobuf-3.7-src
|
|
||||||
|
|
||||||
Optional packages:
|
Optional packages:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user