Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I installed OCILIB on my CentOS 6.2 server some time ago, and now I want to install a newer version. The vendor requires an uninstall, but doesn't provide instructions. I'm guessing that's because it's trivial for people with a Linux background.


If I installed this software using:

step 1: # ./configure --with-oracle-headers-path=/usr/include/oracle/11.2/client64 --with-oracle-lib-path=/usr/lib/oracle/11.2/client64/lib

step 2: # make

step 3: # su root

step 4: # make install

step 5: # gcc -g -DOCI_IMPORT_LINKAGE -DOCI_CHARSET_ANSI -L/usr/lib/oracle/11.2/client64/lib -lclntsh -L/usr/local/lib -locilib conn.c -o conn

How would I go about uninstalling this? I tried following this


but nothing was found on my disk using rpm -qa *oci* or yum list *oci*. Maybe since it wasn't installed with yum or rpm then I shouldn't expect either of these to find it. Are there generic instructions for uninstalling software on Linux that I could use, or do the instructions really depend on the specific software? Any help much appreciated.

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Go into the directory that the source file was in and type make uninstall if that does not work then then there may be no directions for the uninstall. In which case you will have to do it by hand which you can do by redoing the make install and watching for what it installs so you can remove those. otherwise if you know the directory where your program is installed you can remove that. Something you should always do when installing from source is to use checkinstall

share|improve this answer
What does checkinstall do? Do I need to make uninstall as root? –  gkdsp Aug 29 '12 at 1:09
It makes the installation and thus uninstillation much easier by using your systems package management syste. I twill be able to automatically generate an RPM or YUM package that can be uninstalled later by calling for example yum uninstall httpd –  JMeterX Aug 29 '12 at 1:12
Thanks, this worked fine. –  gkdsp Aug 29 '12 at 2:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.