Install from Source
This is the newer (but less tested) OCaml/Python hybrid version of 0install. There is also an older pure Python version (slower, but very mature). Both versions have exactly the same features and interface.
Download the latest .tar.bz2 archive from the SF.net download page (and the corresponding .sig file if you want to verify it), or using wget:
$ wget https://downloads.sf.net/project/zero-install/0install/2.5.1/0install-2.5.1.tar.bz2 $ wget https://downloads.sf.net/project/zero-install/0install/2.5.1/0install-2.5.1.tar.bz2.sig
$ gpg --recv-key --keyserver pgp.mit.edu CA74D8BA $ gpg 0install-2.5.1.tar.bz2.sig gpg: Signature made 2013-11-02T22:36:13 GMT using RSA key ID CA74D8BA gpg: Good signature from "Thomas Leonard <XXXXX@gmail.com>" gpg: Good signature from "Thomas Leonard <XXXXX@users.sourceforge.net>" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA
The warning is just to tell you that you haven't yet established that the key really belongs to me (ultra-paranoid users will now cross-check the finger-print using some other source of information).
You'll probably need to install some OCaml dependencies before you can build. See the README for details. You should then extract the archive, change directory inside it and build:
$ tar xjf 0install-2.5.1.tar.bz2 $ cd 0install-2.5.1 $ make
|Installing normally||Installing without root access|
For a normal install, either su to root, install, and exit from root, or use sudo:
$ sudo make install
If you don't have the root password, use this command. You'll need to make sure that ~/bin is in $PATH in this case.
$ make install_home $ export PATH=$HOME/bin:$PATH
Logging out and back in again will ensure $PATH and the Applications menu get updated correctly, on Ubuntu at least.
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.