Skip to content

Instantly share code, notes, and snippets.

@hawkup
Created September 27, 2015 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hawkup/4eb5ee1a8e10c3e11343 to your computer and use it in GitHub Desktop.
Save hawkup/4eb5ee1a8e10c3e11343 to your computer and use it in GitHub Desktop.
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