Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My ubuntu has maven 2.0.9 version installed, but now i want to update to the newest version.

Altough Im not the root, I have downloaded maven latest version, modified the M2_HOME in .bashrc file with sudo, but when i type in console mvn -version, the old version is displayed.

Is there any other alternative to this simple solution which seems to fail ?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.