Last active
January 23, 2018 04:22
-
-
Save arwankhoiruddin/0772ebb457a74d66954e9c60256c67cc to your computer and use it in GitHub Desktop.
Prepare environment in Ubuntu so you can compile Hadoop on your own
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Oracle JDK 1.8 (preferred) | |
sudo apt-get purge openjdk* | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
# Maven | |
sudo apt-get -y install maven | |
# Native libraries | |
sudo apt-get -y install build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev | |
# ProtocolBuffer 2.5.0 (required) | |
wget https://launchpad.net/ubuntu/+archive/primary/+files/protobuf_2.5.0.orig.tar.gz | |
tar xvfz protobof_2.5.0.orig.tar.gz | |
cd protobuf-2.5.0 | |
./configure | |
make | |
sudo make install | |
sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment