HADOOP-17508. Simplify deps install instructions (#2664)

This commit is contained in:
Gautham B A 2021-02-02 11:03:17 +05:30 committed by GitHub
parent 21a3fc3d2d
commit a163aa7394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,21 +76,17 @@ Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
$ make -j$(nproc) $ make -j$(nproc)
$ sudo make install $ sudo make install
* 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
* Boost * Boost
$ curl -L https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download > boost_1_72_0.tar.bz2 \ $ curl -L https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download > boost_1_72_0.tar.bz2
&& tar --bzip2 -xf boost_1_72_0.tar.bz2 \ $ tar --bzip2 -xf boost_1_72_0.tar.bz2 && cd boost_1_72_0
&& cd boost_1_72_0 \ $ ./bootstrap.sh --prefix=/usr/
&& ./bootstrap.sh --prefix=/usr/ \ $ ./b2 --without-python install
&& ./b2 --without-python install
Optional packages: Optional packages: