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:
- Python (version 2.6 or later is needed).
- GnuPG (to check the digital signatures).
- GObject/GTK (2.12 or later needed for CLI/GUI).
- PyGObject/PyGTK (2.12 or later needed for CLI/GUI).
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:
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).
$ sudo port install zeroinstall-injector
$ sudo fink install zeroinstall-injector
- Mac OS X/Quartz
$ jhbuild -m $PWD/gtk-osx-zero-install.modules build meta-zero-install
$ 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.