如何卸载 Thrift [英] How to uninstall Thrift
问题描述
我使用的是 Ubuntu 10.04 LTS 机器,我在该机器上克隆了 Thrift 的 git 存储库并从源代码本地构建它.但是最新版本的 API 有一些变化,导致应用程序的构建过程失败.
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.
由于仅在我的机器上试用了最新版本的 Thrift,我们的团队决定将我的系统恢复到旧的兼容版本.
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?
推荐答案
如果你还没有通过 ./configure && 删除安装 thrift 的源代码树制作&&sudo make install
然后只需 cd
到它和
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
否则:
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
这篇关于如何卸载 Thrift的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!