How to remove Thrift

I am using Ubuntu 10.04 LTS on which I cloned the git Thrift repository and created it locally from the source. But the latest version has some changes in its API, which causes a failure in the application assembly procedure.

Since the latest version of Thrift was only tested on my machine, our team decided to return my system to an older and compatible version.

But it’s hard for me to delete the existing (latest) version. How can I do it?

+6
thrift
source share
2 answers

If you didn’t remove the source tree from which you installed ./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 
+9
source share

To remove Thrift, go to tmp as

 $ cd /tmp 

here you will find the thrift that you want to remove.

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

This will remove Thrift. To download another version you can use

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

All Articles