Zero Install for Linux¶
The Linux version and Windows version of Zero Install share the same feed format. For most common use-cases they behave identically on the command-line. There are however some OS-specific differences.
Generic binaries¶
You can download download various distribution-specific packages as well as generic binaries here.
Once you have downloaded an archive with pre-compiled binaries, unpack it and cd
into the newly created directory.
To install for all users on the system (with root access):
$ sudo ./install.sh local
To install only for the current user (without root access):
$ ./install.sh home
$ export PATH=$HOME/bin:$PATH
You can also just run ./files/0install
directly, but some features won't work unless 0install
is in PATH
.
From source¶
You can download the 0install source code for released versions from the GitHub Releases page.
Alternatively you can get the latest development version using Git:
git clone https://github.com/0install/0install.git
To install for all users on the system (with root access):
$ make
$ sudo make install
To install only for the current user (without root access):
$ make && make install_home
$ export PATH=$HOME/bin:$PATH