Question: How to uninstall bcftools 0.1.19 from ubuntu 14.04
0
gravatar for Joe
12 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 • 689 views
ADD COMMENTlink modified 12 months ago by Santosh Anand3.5k • written 12 months ago by Joe30
3
gravatar for Santosh Anand
12 months ago by
Santosh Anand3.5k
Santosh Anand3.5k 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 12 months ago by Santosh Anand3.5k
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 12 months ago • written 12 months ago by Charles Plessy2.5k

Thank you very much! Problem solved.

ADD REPLYlink written 12 months ago by Joe30

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

ADD REPLYlink written 12 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 12 months ago • written 12 months ago by genomax47k

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

ADD REPLYlink written 12 months ago by WouterDeCoster28k
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: 1559 users visited in the last hour