How to uninstall compiled apps?

hi linux geeks. I would like to know how to uninstall a software that i install by compiling from the source.

In case it’s an rpm we use this comand
rpm -e xyz.rpm

what about compiled apps?

I did some thinkin and i used this command to remove an application “kasablanca” i installed from its source.

Is that ok or dangerous and unclean uninstall :ashamed:

TIA
Regards.

You can simply delete executable file from /usr/local/bin, and delete any shared files in /usr/local or /usr/local/share. As there is no concept of a registry, there wont be a problem.

A better way is to use checkinstall while compiling the app, check this post - TechEnclave

1 Like

thanks ujjwal thats a good program :slight_smile:

I was using my simple scipt ? :rofl:

Regards.

There is a way to make a rpm file out of a source tar. I dont remember it though. IT makes the entry in rpm database of ur ssytem for that compiled program also. Hence integrity is maintained n u can later on remove the program by “rpm -e” command.
I can find out the exact way…if u r interested :slight_smile:

thanks thunderbolt for the reply. Actually a quick search got me this info :slight_smile:

Regards.