First of all am new to Ubuntu as well as Maven. Does anyone know how to update maven. My current version of maven is 3.0.4. I would like to update it to 3.1.1 which is the latest version. I tried
sudo apt-get update maven
but this didn't help much. Any suggestion. Am using maven for first time. Also how to install
apache-maven-3.1.1-bin.tar.gz
I know there is an command like
sudo apt-get install maven
but it will download maven and then install it.. Since I may need to install maven on a few systems downloading it each time won't be a better option for us. So I am looking forward answer for two questions
How to update installed maven
How to install downloaded package of maven apache-maven-3.1.1-bin.tar.gz