LinuxQuestions.org
Visit Jeremy's Blog.
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 03-20-2003, 01:38 AM   #1
Synaptic Theif
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
Question Recompiling and Reinstalling


Well, i am into linux a bit and have had a machine running for a couple years now, but basically, i have a stupid question:


If i were to install, say, apache. I would:
1) tar -xzvf the package
2)./configure (insert options here)
3) make
4) make install

This process would install apache to configure's default location (or to mine) which would probably be at /usr/local/apache.

Well, if the install of that compilation of apache were to not function right, or be the wrong status, i would want to recompile apache and reinstall it.

Is there a seperate set of steps i should follow to recompile the binary, and re-install it (among other changed files?) Or should i just repeat these steps 1-4 with the requred changes?

Thanks.
 
Old 03-20-2003, 03:02 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You'd probably want to do a make uninstall,
afterwards it's up to you whether you do a
rm -Rf ./<apache-source-dir>
or a
make clean && ./configure, skipping
step 1... even though you might want to
delete the files created by the first run
of ./configure (which might make that take
longer than rm & step 1 :}) ...

Cheers,
Tink
 
  


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
Reinstalling Boffy General 6 03-28-2005 07:02 AM
reinstalling apache irvken Linux - Software 0 07-08-2004 03:48 AM
Reinstalling Lilo using Knoppix CD without reinstalling Knoppix? squall14716 Linux - General 10 11-02-2003 10:46 AM
reinstalling yellowbelly Linux - Distributions 4 06-09-2003 05:34 PM
Reinstalling Everything.... :* mitkomitko Linux - General 2 08-09-2002 09:24 PM


All times are GMT -5. The time now is 06:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration