LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 01: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, 02: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, 02: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, 03:02 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
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, 03: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, 07: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, 06: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, 11:08 AM   #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



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 09:20 PM
compile apache source rpm with mod rewrite robertngo Linux - Software 3 07-21-2005 03:44 AM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
installing apache from rpm source lvran Red Hat 3 10-08-2003 11:44 PM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 08:44 PM

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

All times are GMT -5. The time now is 04:33 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