Question: How to uninstall bcftools 0.1.19 from ubuntu 14.04
0
gravatar for Joe
7 months ago by
Joe30
USA
Joe30 wrote:

Hi, I try to uninstall the old version bcftools 0.1.19 from ubuntu 14.04 and install the newer version.

Try"sudo apt-get remove bcftools", but the result is "E: Unable to locate package bcftools".

I know the bcftools 0.1.19 is in /usr/bin/bcftools by run "whcih bcftools".

So how to uninstall the old bcftools?

uninstall bcftools • 411 views
ADD COMMENTlink modified 7 months ago by Santosh Anand3.0k • written 7 months ago by Joe30
3
gravatar for Santosh Anand
7 months ago by
Santosh Anand3.0k
Santosh Anand3.0k wrote:

"sudo apt-get remove bcftools"

This is a way to uninstall Linux packages and bcftools is not a Linux package

You can just rename the old bcftools to something like "bcftools_0.1.19" rather than removing it. This way, you can use it in future if needed.

ADD COMMENTlink written 7 months ago by Santosh Anand3.0k
1

Indeed, there is no bcftools package for Ubuntu versions lower than 16.04. If a bcftools command is available, then it probably comes from a patch such as /usr/local/bin/ or ~/bin/ , unless a third-party binary package was installed. Joe, the command which bcftools will indicate the program's location, and then you can take action as suggested by Santosh and genomax2.

ADD REPLYlink modified 7 months ago • written 7 months ago by Charles Plessy2.3k

Thank you very much! Problem solved.

ADD REPLYlink written 7 months ago by Joe30

That a very good suggestion, so how to rename to bcftools_0.1.19?

ADD REPLYlink written 7 months ago by Joe30
1

Something like. sudo mv bcftool_0.1.19/bcftools bcftool_0.1.19/bcftools_OLD

If you are new to unix the I suggest spending a few hours here. Best investment in time you will ever do.

ADD REPLYlink modified 7 months ago • written 7 months ago by genomax39k

If this answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.

ADD REPLYlink written 7 months ago by WouterDeCoster24k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 966 users visited in the last hour