Installing Maven 3 on Ubuntu Precise (12.04)


I won’t delve into details of how slowly are the canonical PPAs updated. I’ve found Jay Ginete’s post (please check link at the bottom) mostly useful to solve this issue. I’ve condensed the steps here:

  1. Add Nate Carlson’s PPA to your software sources
  2. Update your local sources
  3. Install maven 3
  4. Creating symbolic link to mvn binary

In detail:

Adding Nate Carson’s PPA: 

sudo add-apt-repository ppa:natecarlson/maven3

(make sure you check the signing key matches the one specified here)

Updating your local sources:

 sudo apt-get update

Installing maven 3:

sudo apt-get install maven3

Creating the link:

sudo ln -s /usr/share/maven3/bin/mvn /usr/bin/mvn

Hope it does work as it did for me. The link to Jay’s post:


13 thoughts on “Installing Maven 3 on Ubuntu Precise (12.04)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s