Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-15-2004, 03:54 PM   #1
Registered: Mar 2004
Location: Chicago
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 15
general compiling question

Hi I recently compiled and installed Apache onto my Redhat 9 system. I am wondering if in order to recompile to add mods and things, do I need to remove it first and reinstall? or can I just recompile over the current **working** version? Same question will PHP 4.3.5
Old 04-15-2004, 04:30 PM   #2
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Generally speaking, you should be able to compile the new version without having to worry about the old one. That being said, compiling and installing from source won't necessarily remove previous versions of the software.

Additionally, some applications have 'make uninstall' enabled. However, that would require that you kept the source directory around after the initial compile and installation of the software. If that's the case, you might want to do a 'make uninstall' from the directory that the source code lies in.

As a general rule, though, unless the installation instructions that came with the updated app specifically state that all previous versions must be removed first, I don't normally worry about it.
Old 04-15-2004, 06:07 PM   #3
Registered: Mar 2004
Location: Chicago
Distribution: Fedora 12
Posts: 56

Original Poster
Rep: Reputation: 15
Well I am not neccessarily installing a new version. I had the package that came packaged with Red Hat. I wanted to update PHP, and learn how to compile/install as well. So I recompiled Apache with the mod_so (I think) option so I can install PHP, but there are many more mods I would like to include. Also with PHP, I will certainly have to recompile as I continue to configure the server. Maybe I don't even have to recompile, but I am basically just wondering how to add mods.


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
Kernel Compiling general question DeadlyMuffin Slackware 2 03-06-2004 12:23 AM
compiling in general powadha Slackware 4 01-17-2004 05:49 PM
compiling software, issues in general tcg23 Linux - Software 1 12-31-2003 11:28 AM
General Compiling Instructions sovietpower Linux - Software 3 12-24-2003 11:18 AM
compiling in general davedoobie Linux - Software 5 04-02-2003 12:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

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