Skip to content

Commit e66d7d9

Browse files
authored
HADOOP-17635. Update the ubuntu version in the build instruction. (#2931)
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
1 parent 9a261b0 commit e66d7d9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

BUILDING.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ Known issues:
5151
and run your IDE and Docker etc inside that VM.
5252

5353
----------------------------------------------------------------------------------
54-
Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
54+
Installing required packages for clean install of Ubuntu 18.04 LTS Desktop.
55+
(For Ubuntu 20.04, gcc/g++ and cmake bundled with Ubuntu can be used.
56+
Refer to dev-support/docker/Dockerfile):
5557

56-
* Oracle JDK 1.8 (preferred)
57-
$ sudo apt-get purge openjdk*
58-
$ sudo apt-get install software-properties-common
59-
$ sudo add-apt-repository ppa:webupd8team/java
58+
* Open JDK 1.8
6059
$ sudo apt-get update
61-
$ sudo apt-get install oracle-java8-installer
60+
$ sudo apt-get -y install java-8-openjdk
6261
* Maven
6362
$ sudo apt-get -y install maven
6463
* Native libraries
@@ -86,12 +85,13 @@ Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
8685
$ 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
8786
$ tar --bzip2 -xf boost_1_72_0.tar.bz2 && cd boost_1_72_0
8887
$ ./bootstrap.sh --prefix=/usr/
89-
$ ./b2 --without-python install
88+
$ ./b2 --without-python
89+
$ sudo ./b2 --without-python install
9090

9191
Optional packages:
9292

9393
* Snappy compression (only used for hadoop-mapreduce-client-nativetask)
94-
$ sudo apt-get install snappy libsnappy-dev
94+
$ sudo apt-get install libsnappy-dev
9595
* Intel ISA-L library for erasure coding
9696
Please refer to https://01.org/intel%C2%AE-storage-acceleration-library-open-source-version
9797
(OR https://github.com/01org/isa-l)

0 commit comments

Comments
 (0)