image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old April 24th, 2001, 02:27 AM
Registered User
 
Join Date: Apr 2001
Location: Pacific Northwest
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
01000111 is on a distinguished road
Question

Does anyone know of a way to open RPM files in OSX? I'd love to get at the contents of some of the linuxppc binaries, but am stuck after downloading the .rpm's.

thanks,

--glen
Reply With Quote
  #2  
Old April 24th, 2001, 12:29 PM
kilowatt's Avatar
mach-o mach-o man
 
Join Date: Mar 2001
Location: irc.lfnet.net #kilonet
Posts: 980
Thanks: 0
Thanked 0 Times in 0 Posts
kilowatt is on a distinguished road
they wouldn't work anyway...

Well, before I installed mac os X final release, I had to wipe my drive. Before I wiped it, I copied some stuff off it, such as the usuall linux command line utilities (bash, ls, top, netstat, cat, pico , etc). None of them will execute in X from the command line. I get something like : incompatable binary

Of course, my linux distro was Yellow Dog Linux (www.yellowdoglinux.com, I think). So maby yours will be different. And, srpm's are another story.

But to answer your question, I don't know how to open an rom file in osx, maby if you could compile the rpm utility... yeah right!
__________________
irc.lfnet.net #kilonet -+=join in=+-
Quote:
...the belief that the rights of man come not from the generosity of the state but the hand of God...
PEBKAC - Problem Exists Between Keyboard And Chair. --who said it first?
Audio Engineer - ProTools and Logic Pro Certified.
FCC Licensed RF Technician
Reply With Quote
  #3  
Old April 24th, 2001, 08:23 PM
Registered User
 
Join Date: Apr 2001
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
resedit is on a distinguished road
There is a port in the works- and working to some degree.
The ppc binaries in a Linux RPM will not work in Darwin.

However, src.rpm's are a nice place to get source taralls from... if you can open them.

You can almost always find sources though in tarball format on the web. Look at http://www.freshmeat.net/
Reply With Quote
  #4  
Old April 25th, 2001, 12:57 PM
strobe's Avatar
Puny Member
 
Join Date: Dec 2000
Posts: 795
Thanks: 0
Thanked 0 Times in 0 Posts
strobe is on a distinguished road
RPMs are horrible. Avoid at all costs, even if you're using Linux.

Anyway I want to clarify some things:

•*LinuxPPC and Darwin use different binary formats and link to different libs using a different linker. NetBSD PPC can run LinuxPPC binaries using a compatibility library (currently a beta) based on the same code which allows FreeBSD to execute Linux x86 code. However getting this to work on Darwin would take more effort that it's worth.

•*LinuxPPC doesn't run anything which we don't have the source to. Linux x86 have a few binary-only titles but LinuxPPC does not.

•*If you want a nice source distribution system check out www.openpackages.org which has a goal of making a common ports system for all major BSD OSs including FreeBSD, NetBSD, OpenBSD, and Darwin.

* If you want source don't get SRPM, get a .tar.gz or get it from cvs.
__________________
---
>80 column hard wrapped e-mail is not a sign of intelligent
>life
Reply With Quote
  #5  
Old April 26th, 2001, 11:13 PM
nice face!
 
Join Date: Feb 2001
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
soellman is on a distinguished road
rpms bad?

why? I think rpms are a hell of a lot better than almost any other packaging format, for many reasons. why do you think they're no good? ever try downgrading a solaris package? and can you even remove macosx packages?

no seriously, I think the openports idea is a good one, finally a ports tree that has the goal of working for all bsds. but I'd rather see something like the software update (which has the capability of being like debian's apt) that can talk to multiple repositories, not just apple (imagine, select something from download.com's software repository just by selecting it in software update, and having software update install all the dependencies as well).

curious about your dislikes of rpm..

cheers,
-o
Reply With Quote
  #6  
Old April 27th, 2001, 04:24 PM
strobe's Avatar
Puny Member
 
Join Date: Dec 2000
Posts: 795
Thanks: 0
Thanked 0 Times in 0 Posts
strobe is on a distinguished road
RPMs have serious dependency problems. Debian packages are much better.

OS X packages aren't hard to remove, drag them to the trash |-p
__________________
---
>80 column hard wrapped e-mail is not a sign of intelligent
>life
Reply With Quote
  #7  
Old April 27th, 2001, 06:12 PM
nice face!
 
Join Date: Feb 2001
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
soellman is on a distinguished road
heh

well yes and no, all of redhat's rpms have crazy dependencies (try installing any newish rpm on a 6.2 box.. nope? then try the src.rpm, and then you see you have to upgrade 30 more rpms to satisfy dependencies)..

but just the format itself I think is a really good one. the religious debate about rpm vs dpkg is a hot one, but the real difference is this: rpms do not do configurations in the package for the most part, whereas dpkgs a lot of the time have you interactively do configuration after the package installation. this is both good and bad, but when you're trying to roll out a new apache package to 30+ boxes, you probably do your config mgmt elsewhere anyway. and that difference is on purpose, because of the ideals of the two groups who designed rpm and dpkg. I prefer rpm.

but the foremost reason I chose rpm for my own projects over dpkg is its cross-platform functionality. you can have src.rpms which can be built on multiple platforms and architectures with no problems (now of course, most that I have seen have problems because that functionality is still rather immature, and the packagers tend not to do it right in any case).

well let me close saying that I've really not had too much exposure to dpkgs since I was running slink on my alpha about 2 years ago. but I managed to get a system up and running which would make equivalent a redhat intel box and a sparc solaris box as far as package mgmt went, and then I could install multi-arch/os rpms built from the same src rpm. very nice..

you should check out this project, quite cool, and that set of rpms doesn't have the crazy dependencies that the redhat built rpms do:

http://www.fastcoder.net/~thumper/so...in/snapdragon/

rpm distributions for solaris 2.6, 2.7, and slackware 7.1. if I ever get the time, I'd love to extend platform support to solaris 8 and darwin. maybe digital unix too if I can free up one of my alphas to run DU. shouldn't be too difficult.

cheers,
-o
Reply With Quote
  #8  
Old April 29th, 2001, 11:37 AM
Jurneyman's Avatar
Uber Geek.
 
Join Date: Jan 2001
Location: Iowa
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Jurneyman is on a distinguished road
Thumbs down

RPM are P U R E E V I L ! Avoid them at _ALL COST_

Seriously, if you want a package manager, then port apt (Debian) and or pkg_ (FreeBSD - Already been done IIRC)

RPM.... -SHUTTER-
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running the Fluxbox Window manager on Apple's X11 willmac Unix & X11 2 May 1st, 2003 09:17 AM
[HOWTO] - Run the Fluxbox Window manager on Apple's X11 willmac HOWTO & FAQs 0 April 30th, 2003 04:53 PM
file manager? Javintosh Mac OS X System & Mac Software 8 February 22nd, 2002 05:52 PM
Problems with OSX Server, Mac Manager, and Apple emh_alpha1 Opinions, & Open Letters 0 February 12th, 2002 04:21 PM
NetInfo Manager hosed scruffy Mac OS X System & Mac Software 0 April 28th, 2001 02:22 PM


All times are GMT -5. The time now is 02:55 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.