Menu

[2275f9]: / install-source.xml  Maximize  Restore  History

Download this file

104 lines (89 with data), 3.4 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
<?xml version='1.0' encoding='utf-8'?>
<html lang="en">
<program name='0install'
title='Install from Source'
author='Thomas Leonard'
git='https://github.com/0install/0install'
license='GNU Lesser General Public License'>
<p>
<strong>This is the newer OCaml version of 0install.</strong>
There is also an older <a href='install-python.html'>pure Python version</a>.
The OCaml version is completely backwards compatible with the Python version.
</p>
</program>
<p>
If you are looking for a package or the generic binaries, try the <a href='injector.html'>main downloads page</a>.
</p>
<h2>Instructions</h2>
<p>
Download the latest .tar.bz2 archive from <a
href="https://sourceforge.net/projects/zero-install/files/0install/">the
SF.net download page</a> (and the corresponding .sig file if you want to verify it), or using wget:
</p>
<pre>
$ <b>wget https://downloads.sf.net/project/zero-install/0install/2.12.2/0install-2.12.2.tar.bz2</b>
$ <b>wget https://downloads.sf.net/project/zero-install/0install/2.12.2/0install-2.12.2.tar.bz2.sig</b>
</pre>
<p>
Check that the signature is correct using GPG (this also ensures that GPG is installed correctly).
You'll need <a href="http://0install.net/public_key.gpg">my GPG key</a>, which you can download and import
using --recv-key (or <a href='http://rox.sourceforge.net/desktop/GPG'>manually</a>):
</p>
<pre>
$ <b>gpg --recv-key --keyserver pgp.mit.edu 1C325588</b>
$ <b>gpg 0install-2.12.2.tar.bz2.sig</b>
gpg: Signature made Sun 06 Aug 2017 19:01:16 BST using RSA key ID 1C325588
gpg: Good signature from "Thomas Leonard &lt;XXX@gmail.com>"
gpg: aka "Thomas Leonard &lt;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
</pre>
<p>
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).
</p>
<p>
You'll probably need to install some OCaml dependencies before you can build.
See the <a href='https://github.com/0install/0install/blob/b2.12/README.md'>README</a> for details.
You should then extract the archive, change directory inside it and build:
</p>
<pre>
<b>tar xf 0install-2.12.2.tar.bz2</b>
<b>cd 0install-2.12.2</b>
<b>make</b>
</pre>
<p>
</p>
<table class='split'>
<col id="col1"/>
<tr><th>Installing normally</th><th>Installing without root access</th></tr>
<tr>
<td>
<p>For a normal install, either su to root, install, and exit from root, or use sudo:</p>
<pre>$ <b>sudo make install</b>
</pre>
</td><td>
<p>
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.
</p>
<pre>$ <b>make install_home</b>
$ <b>export PATH=$HOME/bin:$PATH</b>
</pre>
<p>
Logging out and back in again will ensure $PATH and the Applications menu get updated correctly,
on Ubuntu at least.
</p>
</td>
</tr>
</table>
<p>
You now have a new <b>0install</b> command...
</p>
<quicklinks>
<link href='users.html' img='tango/go-next.png'>Continue to tutorial</link>
</quicklinks>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.