Install from Source
This is the newer OCaml version of 0install. There is also an older pure Python version. The OCaml version is completely backwards compatible with the Python version.
If you are looking for a package or the generic binaries, try the main downloads page.
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.7/0install-2.7.tar.bz2 $ wget https://downloads.sf.net/project/zero-install/0install/2.7/0install-2.7.tar.bz2.sig
$ gpg --recv-key --keyserver pgp.mit.edu CA74D8BA $ gpg 0install-2.7.tar.bz2.sig gpg: Signature made Sun 25 May 2014 11:24:01 BST 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 xf 0install-2.7.tar.bz2 $ cd 0install-2.7 $ 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 a new 0install command...