Difference between revisions of "Ubuntu PPA"

Jump to navigation Jump to search
Debian instructions
(Debian instructions)
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Personal Package Archive ==
The Kiwix Personal Package Archive (PPA) allows you to get the latest version of Kiwix and openZIM software on your Ubuntu system. Currently the following packages are available:  
If you want to install Kiwix, just follow these commands from the console of Ubuntu[[File:Ubuntu.png|12px]].
* <code>kiwix</code> (desktop client)
<blockquote><source lang="bash">
* <code>kiwix-tools</code> (includes kiwix-serve, kiwix-manage, kiwix-read, kiwix-search)
sudo add-apt-repository ppa:kiwixteam/ppa
* <code>zim-tools</code> (includes zimwriterfs)
sudo apt-get update
* <code>libzim-dev</code>(libzim development files)
sudo apt-get install kiwix
* <code>libkiwix-dev</code>(libkiwix development files)
It builds packages for Ubuntu <code>bionic</code>, <code>focal</code>, <code>groovy</code> and <code>hirsute</code> on the <code>amd64</code>, <code>arm64</code>, and <code>armhf</code> architectures.
First, add the PPA to your system:<syntaxhighlight lang="bash">
user@server:/# sudo add-apt-repository ppa:kiwixteam/release
Kiwix lets you access free knowledge – even offline. Store Wikipedia or any website on your mobile phone or computer, easily. See https://www.kiwix.org/
This PPA contains stable releases  of Kiwix and openZIM software.
More info: https://launchpad.net/~kiwixteam/+archive/ubuntu/release
Press [ENTER] to continue or Ctrl-c to cancel adding it.
</syntaxhighlight>If the add-apt-repository command isn't found (it should be installed by default on most Ubuntu systems), you need to install it with <code>sudo apt install software-properties-common</code>.
Then, install whatever package you want in the standard apt way: <code>sudo apt install <package></code>.
Browse the [https://launchpad.net/~kiwixteam/+archive/ubuntu/release list of available packages and their versions].
== Development PPA ==
A second PPA contains bleeding-edge packages built from the master development branch of each repository is also available. The usage instructions are mostly the same, just enable the repository with: <code>sudo add-apt-repository ppa:kiwixteam/dev</code>.
It may take up to an hour for packages to be built and published in the dev PPA. Browse the [https://launchpad.net/~kiwixteam/+archive/ubuntu/dev/ list of available packages and their versions].
For pull requests not yet merged into master, packages can be downloaded as artifacts from CI.
== Debian users ==
A Debian PPA is planned, but does not exist yet. In the meantime, you can get the latest releases of Kiwix software from the official Debian repositories (though it may take 5-7 days after a release). You will need to [https://backports.debian.org/Instructions/ enable the Debian backports repository], and then you should be able to <code>sudo apt install <package></code> (the names are the same as Ubuntu).
== See also ==
* [[/FAQ|Developer FAQ]]


Navigation menu