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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-21-2005, 05:25 PM
|
#1
|
Member
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454
Rep:
|
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 ?
|
|
|
11-21-2005, 06:04 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
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
|
|
|
11-22-2005, 01:06 PM
|
#3
|
Member
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454
Original Poster
Rep:
|
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.
|
|
|
11-22-2005, 02:16 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep:
|
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,
|
|
|
11-23-2005, 03:34 PM
|
#5
|
Member
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454
Original Poster
Rep:
|
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 ...!
|
|
|
All times are GMT -5. The time now is 05:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|