Zero Install

the antidote to app-stores

Installation : Mac OS X

This is the older (but better tested) version of 0install.
Consider trying the newer OCaml version (faster, but less well tested).
0install 1.16 is written entirely in Python, so installing from source is quite simple.

To use Zero Install, you will need:

Note: the last version to support Python 2.5 was 0install 1.0

The easiest way of installing Zero Install and its requirements is by using a “package
manager”, to handle building both it and the dependencies (mentioned above) for you:

You can install Zero Install for regular Mac OS X (Quartz) with JHBuild or Bundle,
or for its BSD sub-system Darwin (using X11) by using either of MacPorts or Fink.

Currently using MacPorts, Fink or JHBuild all require compiling from source code,
so if you want to get started quickly the easiest way is the Bundle: ZeroInstall.pkg

The bundle installs GnuPG and PyGTK (including PyGObject) and their dependencies,
for Mac OS X 10.5 or later using Python 2.6 (download it from python.org if needed).

Darwin/X11

MacPorts installation

You can install the zeroinstall-injector package in MacPorts using this command, which will also install requirements like python26, gnupg, gtk2 and py26-gtk:

$ sudo port install zeroinstall-injector

Fink installation

You can install the zeroinstall-injector package in Fink using this command, which will also install requirements like python26, gnupg, gtk+2, and pygtk2-gtk-py26:

$ sudo fink install zeroinstall-injector
Mac OS X/Quartz

JHBuild installation

You can install the gtk-osx-zero-install.modules with GTK-OSX's JHBuild using this command, which will install requirements like gnupg and pygtk:

$ jhbuild -m $PWD/gtk-osx-zero-install.modules build meta-zero-install

Bundle installation

You can install the ZeroInstall.pkg bundle with Installer.app, which will use system python and install requirements like GnuPG.pkg and PyGTK.pkg:

$ sudo installer -pkg ZeroInstall.pkg -target /

After the installation

You now have some new commands: 0launch, which takes the URL of a program and runs it, and 0install, which provides access to other features.

$ 0launch URI

Work in Progress

Once a native Mac OS X interface is available, this process will become much simpler...
It will also blend in more with the Mac desktop than what the current GTK interface does.

But it should work OK already. If you'd like to help us make it work better, get in touch!
Note that 0desktop only works for GNOME/KDE/etc, for Finder you use AddApp.app...