I want to install monodevelop-4.2.1 from source under Ubuntu 12.4.3 but when I execute :

./configure --prefix=pkg-config --variable=prefix mono

it shows me that :

configure: error: Can't find "mono" in your PATH

how could I add it to my PATH ?


To be able to do that, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo nano ~/.profile

And add the following line:

export PATH=path_of_mono:$PATH

Replace path_of_mono with the correct path of mono.

  • Ty Mitch , what is the path_of_mono ? you mean my source folder ? I added it and nothing happened . – Shervin Gharib Dec 14 '13 at 13:18
  • Path where mono resides. You may look in /usr/share/applications/, /usr/bin, /bin, or /usr/local/bin. – Mitch Dec 14 '13 at 13:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.