I installed maven on my Ubuntu machine with the command sudo apt-get install maven
sudo apt-get install maven
Now I need to know where it is installed in order to configure the sa
Depends on what you are looking for. If you are looking for the executable :
$ whereis mvn
If you are looking for the libs and repo :
$ locate maven
With the locate command, you could also pipe it to grep to find a particular library, i.e.
$ locate maven | grep 'jetty'
HTH