Entering edit mode
7.8 years ago
Joe
▴
30
Hi, I try to install cutadapt 0.9.5 in my ubuntu 14.04
I download the tar.gz file and type:
matt@matt-Inspiron-3847:~/Installs/cutadapt-0.9.5$ python setup.py install --user
The result I get is shown in below link. https://github.com/Jinggg2016/NGS/issues/2
Then I type : matt@matt-Inspiron-3847:~/Installs/cutadapt-0.9.5$ cutadapt cutadapt: command not found
I did sudo apt-get install python-dev, then type "cutadapt", still show "cutadapt: command not found"
try running
/home/matt/.local/bin/cutadapt
Thank you so much! Problem solved!!!!
You need to append the directory where
cutadapt
was installed to your$PATH
.Do
export PATH=/home/matt/.local/bin:$PATH
and then trycutadapt
.Hi, It works, but only temporary, if I close the terminal and open a new terminal, it will still show "cutadapt: command not found ". I need to do the command line you suggest again to make "cutadapt" work.
Do you have solution to make it permanent?
Thanks!
You would benefit a lot from learning more about the linux environment :-) This is a pretty basic problem.
In this case, you would need to change the $PATH in .bashrc or .bash_profile (not sure which one is more recommended)
@Walter I would say
.bash_profile.
see http://stackoverflow.com/questions/415403/whats-the-difference-between-bashrc-bash-profile-and-environmentThanks for clearing that up! (Guess I should check how messed up those files in my system are by now)
Ah well, close enough.
Errrrrrr... Sorry for the typo Wouter. My head is going crazy with a presentation due tomorrow, and I'm not able to detach myself from biostars. Grrrrrrrrrrr
Want your account suspended for today, just say so :)
Hahaha. I didn't see that coming :) Not for this time, but it's becoming a serious issue now!
Haha no problem, and good luck with that presentation :-p
Thanks I will try to figure out by myself.
Why such an old version? cutadapt 0.95 dates from July 2011. Current version is 1.13, released some days ago.