I am trying to solve “how to add path permanently” using ubuntu 14.04. If I had a program say samtools-1.2 that I wanted to add to path I think I would do:
export PATH=$PATH:home/cmccabe/Desktop/NGS/samtools-1.2 >> .bashrc
Then to verify:
cat ~/.bashrc