Skip to content

Apache Flink

Building Apache Flink is very easy yet it took approximately 30 minutes.

Steps are:

  1. Unix-like environment such as Linux, Mac OS X, Cygwin.

  2. Git

  3. Make sure you have java installed, check it in terminal using

    java -version
    
  4. 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

  1. 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
    

  2. cd to the downloaded file and then unpack it by using

    tar xzf *.tgz
    

where * is filename. Alternatively in Mac you can also double click the tar file and it will be un-tared and unzipped.

  1. Then cd to un-tarred file and enter following command in terminal

    mvn 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.

Installation Success

  1. 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.


Was this page helpful?
-->