Difference between revisions of "Ubuntu PPA"

Jump to navigation Jump to search
Debian instructions
m (updating dpkg line with latest file name (from beta4 to beta5))
(Debian instructions)
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
If you want to install Kiwix, you can use the '''Personal Package Archive'''. Just follow these commands from the console of Ubuntu[[File:Ubuntu.png|12px]].
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:  
<blockquote><source lang="bash">
* <code>kiwix</code> (desktop client)
sudo add-apt-repository ppa:kiwixteam/ppa
* <code>kiwix-tools</code> (includes kiwix-serve, kiwix-manage, kiwix-read, kiwix-search)
sudo apt-get update
* <code>zim-tools</code> (includes zimwriterfs)
sudo apt-get install kiwix
* <code>libzim-dev</code>(libzim development files)
* <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.

== 11.10 Oneiric ==
First, add the PPA to your system:<syntaxhighlight lang="bash">
Canonical decided to remove the ''xulrunner-1.9.2'' in Oneiric and further versions. That is the reason why we do not provide a kiwix package for Ubuntu 11.10 Oneiric. We are working to provide a substainable solution but here is a workaround for the meantime.
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/

For i386:
This PPA contains stable releases  of Kiwix and openZIM software.
<blockquote><source lang="bash">
More info: https://launchpad.net/~kiwixteam/+archive/ubuntu/release
wget -c http://mirror.pnl.gov/ubuntu//pool/universe/x/xulrunner-1.9.2/xulrunner-1.9.2_1.9.2.17+build3+nobinonly-0ubuntu1_i386.deb
Press [ENTER] to continue or Ctrl-c to cancel adding it.
wget -c https://launchpad.net/~kiwixteam/+archive/ppa/+files/kiwix_0.9-beta5-0%7Enatty_i386.deb
sudo dpkg -i kiwix_0.9-beta5-0~natty_i386.deb xulrunner-1.9.2_1.9.2.17+build3+nobinonly-0ubuntu1_i386.deb
sudo apt-get -f install

For amd64:
</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>.
<blockquote><source lang="bash">
wget -c http://mirror.pnl.gov/ubuntu//pool/universe/x/xulrunner-1.9.2/xulrunner-1.9.2_1.9.2.17+build3+nobinonly-0ubuntu1_amd64.deb
Then, install whatever package you want in the standard apt way: <code>sudo apt install <package></code>.
wget -c https://launchpad.net/~kiwixteam/+archive/ppa/+files/kiwix_0.9-beta5-0%7Enatty_amd64.deb
sudo dpkg -i kiwix_0.9-beta5-0~natty_amd64.deb xulrunner-1.9.2_1.9.2.17+build3+nobinonly-0ubuntu1_amd64.deb
Browse the [https://launchpad.net/~kiwixteam/+archive/ubuntu/release list of available packages and their versions].
sudo apt-get -f install
== 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 ==
== See also ==

* https://launchpad.net/~kiwixteam/+archive/ppa
* [[/FAQ|Developer FAQ]]


Navigation menu