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 need Help in this: that is how to do this

  1. Edit the setting file of the user. In our case it should be in the root directory of the user and the name is .bashrc or .bash_profile

2.- Add the environment variable FULLPROF, that has as value the absolute path of the directory in which we have installed the programs of the FullProf Suite.

For instance:

              FULLPROF=/opt/FullProf_Suite
              FULLPROF=/usr/local/bin/FullProf_Suite

3.- Add the above directory to the PATH variable

              PATH=$FULLPROF:$PATH

4.- Export the defined variable

               export FULLPROF

5.- The changes will be effective on opening a new terminal window. To verify that everything is OK, just type in your terminal the command: -> echo $FULLPROF The system will show the directory in which you have installed the programs.

share|improve this question

closed as unclear what you're asking by i08in, Sylvain Pineau, Radu Rădeanu, Braiam, guntbert Apr 5 at 18:38

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
This doesn't look like a question... –  edwin Apr 5 at 12:06
    
@edwin I need to know how to do what is explained in 1-5 steps –  Touseef Apr 5 at 12:13
    
@Touseef And what you don't know?!? How to use your keyboard? How to edit a file? What is a variable? How to open the terminal? –  Radu Rădeanu Apr 5 at 13:14

1 Answer 1

You simply use your favorite editor to change the file. Example:

  • Open a terminal window: Ctrl+Alt+T
  • gedit ~/.bashrc

Now I'm not sure that .bashrc is the right file to edit. If the application in question always is started from bash, it works, but otherwise .profile is probably a better choice.

Please read more about environment variables at

https://help.ubuntu.com/community/EnvironmentVariables

share|improve this answer
    
Thank you! I updated the Environment and Path Variable, the problem is I can't run the program –  Touseef Apr 5 at 12:49
2  
@Touseef: How do you (try to) start the program? What happens? –  Gunnar Hjalmarsson Apr 5 at 12:53
    
I use fp2k <cr> it says invalid bash –  Touseef Apr 5 at 13:09
    
@Touseef: Then I suggest you edit your question, and include the additions you made to .bashrc. Copy and paste to get it exactly right. –  Gunnar Hjalmarsson Apr 5 at 20:26
    
I did exactly what is written –  Touseef Apr 7 at 8:07

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