How to uninstall Thrift

孤街浪徒 提交于 2019-12-12 10:44:43

问题


I am using Ubuntu 10.04 LTS machine on which I cloned the git repository of Thrift and built it locally from the source. But latest version has some changes in it's API which is causing out application's build procedure to fail.

Since the latest version of Thrift is tried is on my machine only, our team has decided to revert my system to an older and compatible version.

But I am finding it hard to uninstall the existing (latest) version. How shall I go about it?


回答1:


If you haven't deleted source tree from which you installed thrift by ./configure && make && sudo make install then just cd to it and

sudo make uninstall

Otherwise:

git clone <repo>
git checkout <revision you installed>
./configure # if you supplied some additional options to configure while building thrift, add them here too.
sudo make uninstall



回答2:


To uninstall Thrift navigate to tmp as

$ cd /tmp

here you will find Thrift which you want to delete.

$ cd thrift-0.6.1
$ sudo make uninstall
$ cd ..
$ rm -rf thrift-0.6.1

This will uninstall Thrift. For downloading other version you can use

$ curl http://apache.deathculture.net//thrift/0.6.1/thrift-0.6.1.tar.gz | tar zx


来源:https://stackoverflow.com/questions/5182403/how-to-uninstall-thrift

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!