LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2005, 05:25 PM   #1
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
How to remove something i compiled ?


i coniled Apache server by myself , but the server installed itself on my desktop. now i want to remove the Apache i compiled to install and RPM package . how can i do that ?
 
Old 11-21-2005, 06:04 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Ok so exactly how did you install it?

did you compile it with the following commands

./configure --prefix=<somewhere you specifyed>
make
make install


or did you install it with RPM?


in the first methood you would need to untar the archive again rerun ./configure then possibly do a make uninstall

NOTE: This only works if the programmer wrote a uninstall script for make
 
Old 11-22-2005, 01:06 PM   #3
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
Unhappy didn't work !!!

i tried to ./configure the package then i issued make uninstall but it said that make dosn't have unistall rule. apparantly make doesn't have unistall script written. well, i need to unistall the Apchae server i installed. it's working fine but the problem that the paths for web puplishing directories , commands and extensions are dirfferent from usual. for example , i can't start the server by typing : service httpd start. i cann't add the service to run in un level 5 using chkconfig command. i have to add it in rc.d startup script . my main point that it is a little bit confusing to deal with the server this way. acctually i'm learing how to use it and i want to learn it the easist way i can. i don't know if you can find the unistall script if it available anyway.
 
Old 11-22-2005, 02:16 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649

Rep: Reputation: 148Reputation: 148
You could use checkinstall. If you compile Apache again but do a "./configure && make && checkinstall" the program will generate a package and install Apache (both in one step) and you can then uninstall with your package manager.
Homepage: http://asic-linux.com.mx/~izto/checkinstall/

Probably there will be a precompiled RPM package for this,
 
Old 11-23-2005, 03:34 PM   #5
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
Talking It Worked now !!!

it worked finally, i think that pachage you sent me is very important cus a lot of times you need to remove something you compiled. i think it should be included in my distro. Thanks for the help man ...!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove/uninstall compiled sofware? brynjarh Linux - Software 7 05-29-2009 03:18 AM
How to remove compiled programs? piggysmile Linux - Software 2 03-22-2005 06:25 AM
how to remove compiled software? greythorne Linux - Distributions 3 09-07-2004 04:16 AM
How to remove/un-make the new compiled kernel? karfei00 Linux - General 2 06-11-2004 06:24 AM
How to Remove Compiled Kernel Hady Linux - Software 1 04-15-2004 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration