How to install maven2

Maven logoApache Maven is comprehension tool and an application project management. The easy way to install maven in Linux Ubuntu is to use “standard”  apt-get  command.

  1. Let’s update the package lists from different the repositories and update them to get actual information on the newest versions of packages and their dependencies with this command: sudo apt-get update
  2. You can jump right to step nr. 3, but if You want to search for maven stuff in your repositories, you can use command sudo apt-cache search maven2 , then you can get the list of different packages. For example:
  3. And you can install maven2 with command: sudo apt-get install maven2

…and you are done!

Please tell what you think