RPM Community Forums

Mailing List Message of <rpm-users>

Re: Can RPMs built for different distributions be used on Mac with this application

From: Jeff Johnson <n3npq@mac.com>
Date: Wed 13 May 2009 - 21:42:06 CEST
Message-id: <479BE662-46A8-41BA-838F-CCAA85B6D4C8@mac.com>

On May 13, 2009, at 3:18 PM, Jerome BG wrote:

> Sorry for the newbie question, but I would like to try an RPM  
> install of PHP on my mac since I can't seem to get my own build to  
> function properly. The builds I see available for php-devel (http://rpmfind.net/linux/rpm2html/search.php?query=php-devel 
> ) are for specific builds, and I would prefer not to have another  
> nonfunctional copy of PHP on here from trying to install it with no  
> chance of success.

Mixing *.rpm from linux <-> mac is a bit risky.

Might work for PHP, dunno.

If you install from *.rpm, erasing is dirt simple reliable doing
	rpm -evv foo

But you can extract files from payload manually using rpm2cpio:
	mkdir xxx
	cd xxx
	rpm2cpio foo*.rpm | cpio -dim

There's a shell script version called rpm2cpio.sh around as well.


73 de Jeff
Received on Wed May 13 21:43:03 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.