4
Debian Jessie and Ubuntu 14.04
5
------------------------------
7
You can install :term:`Plainbox` straight from the archive:
11
$ sudo apt-get install plainbox
13
Ubuntu (Development PPA)
14
------------------------
16
Plainbox can be installed from a :abbr:`PPA (Personal Package Archive)` on
17
Ubuntu Precise (12.04) or newer.
21
$ sudo add-apt-repository ppa:checkbox-dev/ppa && sudo apt-get update && sudo apt-get install plainbox
23
From python package index
24
-------------------------
26
Plainbox can be installed from :abbr:`pypi (python package index)`. Keep in
27
mind that you will need python3 version of ``pip``:
31
$ pip3 install plainbox
33
We recommend using virtualenv or installing with the ``--user`` option.
35
From a .snap (for Ubuntu Snappy)
36
--------------------------------
38
You can build a local version of plainbox.snap and install it on any snappy
39
device (it is architecture independent for now, it doesn't bundle python
40
itself). You will have to have access to the checkbox source repository for
45
$ bzr branch lp:checkbox
46
$ cd checkbox/plainbox/
49
This will give you a new .snap file in the ``dist/`` directory. You can install
50
that snappy on a physical or virtual machine running snappy with the
51
``snappy-remote`` tool. Note that you will have to have the latest version of
52
the tool only available in the snappy PPA at this time. Refer to `snappy
53
umentation <https://developer.ubuntu.com/en/snappy/start/>`_ for details.
55
If you followed snappy documentation to run an amd64 image in kvm you can try
56
this code snippet to get started. Note that you can pass the use ``-snapshot``
57
option to kvm to make all the disk changes temporary. This will let you make
58
destructive changes inside the image without having to re-create the original
63
wget http://releases.ubuntu.com/15.04/ubuntu-15.04-snappy-amd64-generic.img.xz
64
unxz ubuntu-15.04-snappy-amd64-generic.img.xz
65
kvm -snapshot -m 512 -redir :8090::80 -redir :8022::22 ubuntu-15.04-snappy-amd64-generic.img
66
snappy-remote --url=ssh://localhost:8022 install plainbox_0.22.dev0_all.snap
68
The password for the ``ubuntu`` user is ``ubuntu``. After installing you can
69
log in (or use the KVM window) and invoke the ``plainbox.plainbox`` executable