Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new in Ubuntu (come from Windows 7), i want to know how can i add environment variable in Ubuntu, because the platform where i use exaggerate "To compile and run SCA composites with OW2 FraSCAti, you also have to set the FRASCATI_HOME system environment variable. FRASCATI_HOME has to point to the directory where the OW2 FraSCAti runtime distribution was extracted".

And how can i add it to my path "For conveniance, you can add FRASCATI_HOME/bin to your PATH variable to get the frascati command available in the PATH". Please i'am new, could you explain me what i do step by step..

share|improve this question
add comment

1 Answer

You can add them in /etc/environment.

  • Open a terminal (Ctrl+Alt+T).

  • Run:

gksudo gedit /etc/enviroment
  • Add your variables. For example, if you had to initialize a variable named FOO to some_value, you'd
FOO="some_value"
  • Save and exit
share|improve this answer
add comment

Your Answer

 
discard

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

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