Andrei Pall

Linux Software Engineering

Install Apache Maven on Ubuntu

Maven is a build automation tool used primarily for Java projects. Maven addresses two aspects of building software: First, it describes how software is built, and second, it describes its dependencies.

To install Maven type the following commands in Terminal:

wget http://apache.arvixe.com/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz

tar -zxf apache-maven-3.2.5-bin.tar.gz

sudo cp -R apache-maven-3.2.5 /usr/local

sudo ln -s /usr/local/apache-maven-3.2.5/bin/mvn /usr/bin/mvn

mvn -version