To uninstall maven2 just follow these instructions.
sudo apt-get remove maven2
This will remove just the maven2 package itself.
sudo apt-get remove --auto-remove maven2
This will remove the maven2 package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for maven2 then this will work.
sudo apt-get purge maven2
Or similarly, like this maven2
sudo apt-get purge --auto-remove maven2
Package | maven2 |
Version | 2.2.1-12+deb7u1 |
Maintainer | Debian Java Maintainers <[email protected]> |
Home page | http://maven.apache.org/ |
Description | Java software project management and comprehension tool |
Distro | debian |
Release | wheezy |
Repo | main |
Section | java |