You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hari Om <ha...@hotmail.com> on 2003/07/28 17:13:21 UTC

[users@httpd] Apache / Tomcat RPM

how can I tell RPM (Red Hat Packet Manager) to install package in a certain 
directory?
I am using Red Hat Linux 7.1
I tried following:
--------------------------------------------------------------------------------------------------
#rpm -ivh apache.rpm
--------------------------------------------------------------------------------------------------

How can I tell RPM to install Apache in /usr/local (or any other userdefined 
directory)?

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Apache / Tomcat RPM

Posted by John Turner <to...@johnturner.com>.
First, in general, you don't.  That's the whole purpose of an RPM.

Second, if you want to install Apache in /usr/local, the easiest thing 
in the world to do is download Apache from source and build it.  This is 
covered in my HOWTO, step by step:  http://www.johnturner.com/howto

Third, if you still must use RPM, you might try the man pages for rpm 
(man rpm) and consult the --relocate option, which may or may not be 
suitable.

John

Hari Om wrote:

> how can I tell RPM (Red Hat Packet Manager) to install package in a 
> certain directory?
> I am using Red Hat Linux 7.1
> I tried following:
> -------------------------------------------------------------------------------------------------- 
> 
> #rpm -ivh apache.rpm
> -------------------------------------------------------------------------------------------------- 
> 
> 
> How can I tell RPM to install Apache in /usr/local (or any other 
> userdefined directory)?
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*  
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org