Secure OS Software for Linux
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Remove program which installed by source code ?

'chris'
Super Advisor

How to Remove program which installed by source code ?

hi

I've installed openssl on linux Suse 8.2

tar -xvzf openssl-0.9.7b.tar.gz
./config --prefix=/usr/local/openssl
make
make test
make install

how to deinstall it ?
I can't find unsinstall.


14 REPLIES
Steven E. Protter
Exalted Contributor

Re: How to Remove program which installed by source code ?

All you have to do is find and delete the binaries.

Then for all intents and purposes its gone. Its not in any database like rpm or anything like that.

Just the good old rm command.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
U.SivaKumar_2
Honored Contributor

Re: How to Remove program which installed by source code ?

Hi,

In lot of source packages , this option is available.

#make uninstall

regards,

U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: How to Remove program which installed by source code ?

Hi,

In lot of source packages , this option is available.

#make uninstall

regards,

U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: How to Remove program which installed by source code ?

Hi,

In lot of source packages , this option is available.

#make uninstall

regards,

U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: How to Remove program which installed by source code ?

Hi,

In lot of source packages , this option is available.

#make uninstall

regards,

U.SivaKumar
Innovations are made when conventions are broken
Vitaly Karasik_1
Honored Contributor

Re: How to Remove program which installed by source code ?

Checkinstall ( http://checkinstall.izto.org/) may be answer for this issue.

Regards,
Vitaly
'chris'
Super Advisor

Re: How to Remove program which installed by source code ?

hi

you mean to delete the entire openssl folder
under:

/usr/local/openssl

and that's enough ?



U.SivaKumar_2
Honored Contributor

Re: How to Remove program which installed by source code ?

That's enough to remove the binaries but openssl libraries still will be there in the system. Means it is not a clean uninstall.

try this

make uninstall

regards,

U.SivaKumar
Innovations are made when conventions are broken
Huc_1
Honored Contributor

Re: How to Remove program which installed by source code ?

If make uninstall does not work
then you will have to rm the files by hand ... the long way!

To help along you could perhaps find all the file from the install directory ... if you still have that doing a grep for string like ssl and lib on file from the install directory could help you indentify most of the files other the the binary's

also some tailored find with creation time could also help you a long!

as last ressort you could also reinstall openss-0.9.7b outputing all the installed files to a log .... then procede with the rm using this log as a guide.

But be carefull not to rm files used by other ressources ... come to thing of it is leaving them there such a problem ?


I also noticed that you have never given points to any of your more then 100 questions I like many others like to help others, but we do find points rewarding so please just click on points on the top right of answer(s) and assign values from 0 to 10 thanks.

Jean-Pierre
Smile I will feel the difference
David Asgeirsson
Valued Contributor

Re: How to Remove program which installed by source code ?

To be sure you get all the files, look in usr/local/openssl at the files test and install. They contain the make commands, you can see all the files listed and where the targets were sent to.
Steven E. Protter
Exalted Contributor

Re: How to Remove program which installed by source code ?

All you have to do is go to the location of openssl, and delete all the binaries.

look in /etc/ for any configuration files but you really don't nee to get rid of them.

If you put the openssl binary directory in your PATH, good sysadmin practices dictate that you remove it. /etc/profile or .profile for the users.

Thats it.

Quite simple.

rm

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dave Filchak
Frequent Advisor

Re: How to Remove program which installed by source code ?

One way that I have found helps is to produce a file listinging of all the files on the machine. Once I have installed the new binaries, I do another files listing of all files on the machine and then run the diff command on the two files. There you have it! All the files that were installed and where they live. The trick of course is to run the file listing BEFORE you install but if you do it is then easy. After a while, you also get to know where everything goes.

Hope this helps.

Dave
Caesar_3
Esteemed Contributor

Re: How to Remove program which installed by source code ?

Hello!

Check in the Makefile and if you have
option that made some "remove" operation.
If not then you can check the Makefile
and see what he copy when you do "install"
and also delete /usr/local/openssl

Caesar
Balaji N
Honored Contributor

Re: How to Remove program which installed by source code ?

on after thought, may be storing the output of make install will help.

u know what files are being copied and can remove them manually if make uninstall doesnt help?

what say?

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.