Maven
Installation of ubuntu 20.04
Surprise nothing special
apt-get update apt-get install maven
Set Environment
In ~/.bashrc add
export M2_HOME=/usr/share/maven export M2=$M2_HOME/bin export MAVEN_OPTS=-Xms256m -Xmx512m
You can either log out or run the script with
. ./bashrc