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.12.1/0install-2.12.1.tar.bz2 $ wget https://downloads.sf.net/project/zero-install/0install/2.12.1/0install-2.12.1.tar.bz2.sig
$ gpg --recv-key --keyserver pgp.mit.edu 1C325588 $ gpg 0install-2.12.1.tar.bz2.sig gpg: Signature made Sun 04 Sep 2016 21:31:06 BST using RSA key ID 1C325588 gpg: Good signature from "Thomas Leonard <XXX@gmail.com>" gpg: aka "Thomas Leonard <XXX@docker.com>" 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: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC Subkey fingerprint: BB54 6E44 A179 B1AD 4240 41D7 0616 A2C6 1C32 5588
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.12.1.tar.bz2 cd 0install-2.12.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 a new 0install command...