I found that maven2 install is via apt-get and maven3 is manual, but i could not find any information on how i an install maven3 without uninstalling maven2
Asked
Active
Viewed 1,100 times
2 Answers
2
- Download maven and extract it to a folder (eg
/opt/maven3) - Add maven link to PATH : ln -s /opt/maven3/mvn /usr/local/bin/mvn3
Use maven3 with mvn3 command, and maven2 with mvn command.
bbaja42
- 3,031