steve359 wrote:
----
---. ( OP refers to RedHat / Suse Linux )
Both use RPM format for download.
Ubuntu uses deb.
All packages I have seen that self-install on Mac say "dmg".
Is there *any* crosscompatibility?
I want to download software that only has RPM nd DEB options.
Hi
I think you are confusing yourself regarding these file-extensions. .. let me write you a little bit ( I use all these OS and think I know what you are interested in ) 😉
1st :
RPM and DEB both are file extensions for Linux package Managers.
To understand the behaviour of these filetypes you best think of "zip". rpm and deb are containg individual parts and folder, executables, manpages, scripts, icons etc . The package manager knows where to put them and what else must be installed in order for the binary inside the package to work once it has been installed.
PackageManagers are used to install software and the OS ( also all upgrades ) itself onto a Linux based operating system. It handles the initial installation as well as upgrading, uninstalling and solves conflicts on its own.
For example Ubuntu and Debian uses the APT package manager , most prominently known frontend is the "SynAPTics" program under Ubuntu. Apt can deal with *.deb packages.
Suse and Redhat ( and Mandriva and Fedora .. ) use various packagemanagers like YasT,Zypper and Yum . They all deal with *.rpm packages and these packages have exactly the same puropse like the *.deb packages in Debian/Ubuntu based Linux OS. For example the content of package "binutils" would be exactly the same - whether it comes as a debian or a redhat archive.
2nd :
To convert rpm to deb and vice versa a Linux user can launch the command "alien" ( for example to make a rpm of the package binutils.deb one would call the terminal and write alien binutils.deb and find then next to the original a binutils.rpm.
So "Alien" converts the content of the deb and rpm archives into a format the current Packagemanager can understand. Like I said - the contents are the same .
3rd :
The Mac OS X System, although its underpinnings are in fact based on FreeBSD ( is NOT Linux but original UNIX while Linux is a "clone" of UNIX ) does not use ANY package manager and does not understand *.deb or *.rpm.
THE MAX OS X programs file extension is *.APP which is unique. An app is simply a wrapper that contains everything the executable inside the wrapper needs to run on the specific OSX version.
Slightly Offtopic for *APP - History/Current : The only other System that has the same technique is "GNUSTEP" which derivated off of the opensources version of Mac OSX roots, namely "NEXTSTEP". Now GNUSTEP is no Operating System itself but only a runtime and development API to put on top of a other OS ( Windows, Linux ) GNUSTEP cannot execute *.APP written for OSX however because Aples copyrighted frameworks are missing of course on other OS. But one could develop Applications onto GNUSTEP that target both, GNUSTEP and OSX - therfore having the maximum in "CROSS_PLATFORM", an app that later runs on OSX and on Windows and Linux who both need to have the GNUSTEP runtime installed .. *sigh*
4: DEB/RPM opening in OSX :
If you have some sort of Unzipping/unraring apps installed they *might* be able to open these packages but the content would then just be unpacked/extracted and so far would not have any use.
5 : Running popular Linux software on OSX by using BSD ports / Macports :
if you want to use the majority of Linux Software you could install the ports system onto Mac OS X, which brings in a whole lotta choice of FreeBSD applications ( most Linux apps are available for BSD ).
Google MacPorts how to set that up.
6 : Using popular OpenSource Apps that require only the presence of X11 :
Linux has some outstanding good and free Apps that have made their way onto other systems. For isntance the "GIMP" -- to run these you wont have to tinker with Macports or the commandline to compile your own. SImply install from the Mac Install DIsk the package "X11 user" and find from the projects website the Mac OS Version. Some, not all OpenSource Apps need only that . Firefox Browser for Example does not, as it was made a Mac OS native application which uses what OSX provides to run.
7 : THE DMG file extensions on OSX :
A DMG ( DISK IMAGE ) is simply a virtual harddisk like a *.iso that you can mount with "virtual cd drives" in Windows or mount with Gnome's/KDE's iso-mounters under Linux. So DMG - Its a container that itself contains either installers or a ready to run *app ( known to be installed by simply dragging and dropping onto your Application folder ) .
This is used mainly to make sure that the contents are kept intact when a Macintosh Application is transfered over the internet and across different Operating Systems. Other OS like Windows could corrupt ressources inside an *.app - therfore it would not run once it has been first on WIndows and then on a Mac .. A zip file as "protector" around it would do the same, but a disk image is simple - once double clicked it gets mounted inside the file system of OSX - the classic Mac OS ( ver 7 to 9 ) already knew that technique and made use of it a lot. So it has found its way into the OSX also.