Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Maven on Ubuntu 14.04
  1. Download maven from http://maven.apache.org/download.cgi
wget http://www.us.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
  1. unzip file
tar -xvf apache-maven-3.3.3-bin.tar.gz
  1. move file to /usr/local/share
mv apache-maven-3.3.3 /usr/local/share
  1. add this command to ~/.bash_profile
export MAVEN_HOME=/usr/local/share/apache-maven-3.3.3
export PATH=$PATH:$MAVEN_HOME/bin
  1. check version
mvn -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.