How can I edit the path to a new folder
I installed ncbi blast program (ncbi-blast-2.2.30+-src, so I wanted to add its folder to the PATH, so I searched around and these is what I tried and then I tried this:
gedit ~/.profile
and pasted this
export PATH=$PATH:/home/k-bobi/Documents/Blast+/ncbi-blast-2.2.30+-src/c++
And then I checked the path with echo $PATH. As you can see its not included in the path:
k-bobi@kbobi-EasyNote-TE69KB:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
What am I dong wrong?
• 1,401 views
•
link
1 answer
I usually edit ~/.bash_profile
For example adding this line would work:
export PATH=/home/k-bobi/Documents/Blast+/ncbi-blast-2.2.30+-src/c++:${PATH}
Then you have to source ~/.bash_profile or alternatively start a new terminal..
But really, it looks to me like you have downloaded blast source instead of binaries. Have you compiled the source and are the binaries really in that dir? If you have no clue what I'm talking about, you should really just download the binaries..
• 0 views
•
link
Log in to answer this question.
Hello mwanerhi erfgtr!
We believe that this post does not fit the main topic of this site.
Not a bioinformatics question.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!