Entering edit mode
7.6 years ago
Joe
▴
30
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?
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 commandwhich bcftools
will indicate the program's location, and then you can take action as suggested by Santosh and genomax2.Thank you very much! Problem solved.
That a very good suggestion, so how to rename to bcftools_0.1.19?
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.
If this answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.