Install maven in ubuntu

Here you will learn to Install Maven in UBUNTU.

Check if Maven Installed

Before installing maven, first check if it is already installed or not.  To check this execute below command.


If output is something like below, then it means that Maven is already installed.

If not then you need to install maven.

Install Maven

If maven is not installed then you can install the same by executing below command.

Maven Installation Directory

Default maven installation directory is “/usr/share/maven”. Still if you want to confirm the location execute the version command it will also display the folder location of Maven.

Leave A Comment

Your email address will not be published. Required fields are marked *