LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-20-2007, 02:43 PM   #1
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Rep: Reputation: 15
Is there an Apache 2.2.6 rpm non-source out there


I searched the web for an Apache ver. 2.2.6 rpm package, but can't find one. Is there one out there? If not, then why not? I don't want one of the "src" ones, but one with the 'i386' tag. I'm a noobie so be gentle. Thanks.
 
Old 12-20-2007, 03:04 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Rpms are generally distro and version specific. So what distro are you running and what version.
 
Old 12-20-2007, 03:24 PM   #3
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lazlow View Post
Rpms are generally distro and version specific. So what distro are you running and what version.
I am running RHEL 4.
 
Old 12-20-2007, 04:02 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
What is wrong with the version of apache 2 that comes with RHEL 4 ?
 
Old 12-20-2007, 04:13 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you can't find an rpm and you really need to use the latest, it's actually very simply to build your own rpm from the src rpm. Come back if you need instructions.
 
Old 12-21-2007, 08:11 AM   #6
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
If you can't find an rpm and you really need to use the latest, it's actually very simply to build your own rpm from the src rpm. Come back if you need instructions.
Instructions would be great. Basically, I need to have Apache 2.2.6 for our server at work. I am new to Linux and have to figure out how to install Apache/PHP/MySQL and eZ Publish. Right now I am practicing with a spare box. I put RHEL 4 (which is the only version we have, but I don't have a key for it, so I can't just run the "up2date" command) on a box, but the default version of a Apache it comes with it 2.0.59, so I want to upgrade to 2.2.6. The only way I know how to do this is to "rpm -e" to get the old version off, then download and compile the 2.2.6 package using the ./configure, make, make install commands. I really would like to go the rpm route instead, if possible. Any help on the easiest way to upgrade to 2.2.6 would be appreciated. Thanks.
 
Old 12-22-2007, 07:34 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Short form instructions are (I'm in an airport)

Download the src rpm, to say, /usr/src

Make sure you have the rpmbuild package installed (I think it's called rpm-build - check with "yum list available rpm*")

Then all you have to do is

rpmbuild --rebuild packacge-name.src

And you should find that rpmbuild creates a whole directory structure un /usr/src/redhat with the rpm in there somewhere, probably /usr/src/redhat/RPMS/i386 or similar.

Give it a go

Sorry cant' help more from here
 
Old 12-24-2007, 12:08 PM   #8
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
Short form instructions are (I'm in an airport)

Download the src rpm, to say, /usr/src

Make sure you have the rpmbuild package installed (I think it's called rpm-build - check with "yum list available rpm*")

Then all you have to do is

rpmbuild --rebuild packacge-name.src

And you should find that rpmbuild creates a whole directory structure un /usr/src/redhat with the rpm in there somewhere, probably /usr/src/redhat/RPMS/i386 or similar.

Give it a go

Sorry cant' help more from here
Thanks, I'll give it a shot.
 
  


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
installed apache from source, didn't remove rpm, updated rpm causes problems leftPeg Linux - Newbie 5 06-06-2007 10:20 PM
compile apache source rpm with mod rewrite robertngo Linux - Software 3 07-21-2005 04:44 AM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 11:42 AM
installing apache from rpm source lvran Red Hat 3 10-09-2003 12:44 AM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 09:44 PM

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

All times are GMT -5. The time now is 09:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration