Apache Flink ¶
Installing Apache Flink¶
Building Apache Flink is very easy yet it took approximately 30 minutes.
Steps for installing apache Flink on Mac/ubuntu¶
Steps are:
-
Unix-like environment such as Linux, Mac OS X, Cygwin.
-
Git
-
Make sure you have java installed, check it in terminal using
java -version
-
Maven is used as build tool, if you do not have maven install it using
brew install maven
Unix-like environment (We use Linux, Mac OS X, Cygwin) is required
-
Go to this link and download the source version. You can also clone the source form
git
by entering following command in your terminal.git clone https://github.com/apache/flink
-
cd
to the downloaded file and then unpack it by usingtar xzf *.tgz
where *
is filename. Alternatively in Mac you can also double click the tar file and it will be un-tared and unzipped.
-
Then
cd
toun-tarred
file and enter following command in terminalmvn clean install -DskipTests
Let build will start and will take almost 30 minutes and finally if everything is done successfully, then you will see following message.
- In my system the Flink is installed at the following location.
/Users/YOUR_USER_NAME/.m2/repository/org/apache/flink
Success
Congrats, we have successfully build Apache-Flink on our system.