We will make use of the apt package manager to install maven on Ubuntu Operating System.
Installation Command:
Execute the below command in Terminal.
# sudo apt install maven

Once the installation is complete, you can validate that the installation was proper by running the maven version command.
# maven -version
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.12, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.11.0-38-generic", arch: "amd64", family: "unix"
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!