Install from SourceInstalling from source. Zero Install 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 |
|
If you are looking for a package, try the main downloads page.
Instructions
Download the latest .tar.bz2 archive from the download page (and the corresponding .sig file if you want to verify it), or using wget:
$ wget http://downloads.sourceforge.net/project/zero-install/injector/1.5/zeroinstall-injector-1.5.tar.bz2 $ wget http://downloads.sourceforge.net/project/zero-install/injector/1.5/zeroinstall-injector-1.5.tar.bz2.sig
Check that the signature is correct using GPG (this also ensures that GPG is installed correctly). You'll need my GPG key, which you can download and import using --recv-key (or manually):
$ gpg --recv-key --keyserver pgp.mit.edu CA74D8BA $ gpg zeroinstall-injector-1.5.tar.bz2.sig gpg: Signature made Thu 29 Dec 2011 12:21:10 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 should now extract the archive, and change directory inside it:
$ tar xjf zeroinstall-injector-1.5.tar.bz2 $ cd zeroinstall-injector-1.5
| Installing normally | Installing without root access |
|---|---|
|
For a normal install, either su to root, install, and exit from root, or use sudo: $ sudo python setup.py 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. $ python setup.py install --home ~ --install-data ~/.local $ 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. |
- error: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile
- You need to install the python-dev package, not just python.
- package init file 'zeroinstall/0launch-gui/__init__.py' not found (or not a regular file)
- This is just a warning and is harmless.
You now have some new commands: 0launch, which takes the URL of a program and runs it, 0alias, which lets you use short names instead of URLs, and 0install, which provides access to other features.