Issue about install Cutadapt in ubuntu1404
0
0
Entering edit mode
7.1 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"

cutadapt • 2.4k views
ADD COMMENT
1
Entering edit mode

try running /home/matt/.local/bin/cutadapt

ADD REPLY
0
Entering edit mode

Thank you so much! Problem solved!!!!

ADD REPLY
1
Entering edit mode

You need to append the directory where cutadapt was installed to your $PATH.

Do export PATH=/home/matt/.local/bin:$PATH and then try cutadapt.

ADD REPLY
0
Entering edit mode

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!

ADD REPLY
0
Entering edit mode

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)

ADD REPLY
2
Entering edit mode

@Walter I would say .bash_profile. see http://stackoverflow.com/questions/415403/whats-the-difference-between-bashrc-bash-profile-and-environment

The ~/.bash_profile would be used once, at login. The ~/.bashrc script is read every time a shell is started. This is analogous to /.cshrc for C Shell.

One consequence is that stuff in ~/.bashrc should be as lightweight (minimal) as possible to reduce the overhead when starting a non-login shell.

ADD REPLY
0
Entering edit mode

Thanks for clearing that up! (Guess I should check how messed up those files in my system are by now)

@Walter

Ah well, close enough.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
2
Entering edit mode

Want your account suspended for today, just say so :)

ADD REPLY
0
Entering edit mode

Hahaha. I didn't see that coming :) Not for this time, but it's becoming a serious issue now!

ADD REPLY
1
Entering edit mode

Haha no problem, and good luck with that presentation :-p

ADD REPLY
0
Entering edit mode

Thanks I will try to figure out by myself.

ADD REPLY
1
Entering edit mode

Why such an old version? cutadapt 0.95 dates from July 2011. Current version is 1.13, released some days ago.

ADD REPLY

Login before adding your answer.

Traffic: 1976 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6