Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed from Microchip website, and at the end it asked me

==> NOTE: You may wish to add the following  
   to your PATH environment variable.  

What does it mean?

I also need to add this to the environment path:

share|improve this question
PATH is a global operating system variable that contains names of files that are to be executed without specyfing the whole path to them. For example You can just write startx to start graphic environemnt instead of /bin/some other folders/startx – Misery May 24 '12 at 15:56
After editing .profile restart your system to get the changes to take effect. (Perhaps there is a way around this, but restarting certainly works) – thn May 30 '13 at 8:42
Run . ~/.profile for changes to take immediate effect – beam022 Sep 16 '15 at 11:48
up vote 35 down vote accepted

Partial duplicate: How to add a directory to my path?

PATH is an enviroment variable. Basically, it tells your machine were to search for programs, so when you run your picc program, you can just do this:


instead of


To add a directory to your $PATH, follow any one of the below.

  1. simply edit ~/.profile

    gedit ~/.profile

    find the following line:


    and change it to:

  2. Run the below command in terminal

    export PATH=$PATH:/usr/hitech/picc/9.82/bin
share|improve this answer
i do not clearly understand what do i edited /etc/profile but the link in your answer says something like this if [ -d "$HOME/bin" ] ; then PATH="$PATH:$HOME/bin" fi what do do with this? – ths May 24 '12 at 16:09
There you go. I updated the answer. – reverendj1 May 24 '12 at 16:18
what to do if i need to add more than 1 path? – ths May 24 '12 at 16:32
Just keep adding a colon, then your new path to that string. i.e. PATH="$HOME/bin:$PATH:/usr/hitech/picc/9.82/bin:/my/new/path" – reverendj1 May 24 '12 at 16:37

Your Answer


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.