When i write `mvn` command in Terminal i get this message: 

```
The program 'mvn' can be found in the following packages:
 * maven
 * maven2
Try: sudo apt-get install <selected package>

```

I also get the same message for `node` command:

```
The program 'node' can be found in the following packages:
 * node
 * nodejs-legacy
Try: sudo apt-get install <selected package>

```

Which i think means that i have two version of maven installed and 
for `node` i have another program besides nodejs which also has `node` command associated with it. 

So it wants me to use: 

```
sudo apt-get install maven 

```

or 

```
sudo apt-get install maven2 

```

To permanently associate `mvn` command with one of the programs (versions of `maven`) `maven` or `maven2`.

Now is there a way to temporarily use `mvn` for `maven` or for `maven2`? 
I mean a way that I can select one of `maven` or `maven2` temporarily?