Live Chat Software by Kayako
How to install Maven 3 on Ubuntu 15.10/15.04/14.10/14.04 LTS/13.10/13.04/12.10/12.04 by using apt-get?
Posted by Thang Le Toan on 04 September 2016 10:52 AM
If it works for you ignore the rest of this post.
I started setting up my Ubuntu 12.10 on April 2013 and the normal
The manual installation in this post is useful if you like to dig in deeper to your ubuntu kernel in regards with apt-get and where it finds the list of applications that are available for installation on Ubuntu . It can also be potentially useful for more recent releases of Ubuntu like Ubuntu 15.04, etc. if you face the same problem as I did back then with Ubuntu 12.10.
Automatic Installation via apt-get:
Checkout the manual installation if your current ubuntu can not install maven via common 'apt-get install maven'.
Make sure to remove maven 2 if your ubuntu is not fresh or if you were using maven 2 before:
Manual Installation via apt-get by adding maven 3 repository (Ubuntu 14.04 check out update 1):
This can be useful if your ubuntu apt-get repositories list is not up to date.
Maven 3 was required to set up the system and as it turns out most of the documents out there are referring to how to install Maven to Ubuntu version 12.04 or before. Best document I found was:
The whole process I came up with is as follows:
OS X Installation
I decided to add OS X installation in case you use multiple environments for your dev: See the source stackoverflow thread for more details.
Install Homebrew that is the equavalent of
Update 1: Installation for Ubunutu 14.04
Haven't tried this myself but I am confident this should work without security warnings: