2011-02-01 10:24:24 +00:00
|
|
|
Installation on Ubuntu
|
|
|
|
======================
|
|
|
|
|
2011-03-16 17:19:57 +00:00
|
|
|
The following instructions are for Ubuntu, but they should work in a
|
|
|
|
similar fashion for other Linux distributions (e.g. Debian, opensuse,
|
|
|
|
fedora, etc.). Obviously you will need to adjust the commands.
|
|
|
|
|
2011-02-01 10:24:24 +00:00
|
|
|
Ubuntu 10.10 (Maverick)
|
|
|
|
-----------------------
|
|
|
|
|
2011-03-16 17:19:57 +00:00
|
|
|
Unfortunately there is no kivy package in the Ubuntu repositories yet.
|
|
|
|
We're working on it. Until then, do the following instead:
|
|
|
|
|
2011-02-01 10:24:24 +00:00
|
|
|
::
|
2011-02-01 10:26:15 +00:00
|
|
|
|
2011-02-01 10:24:24 +00:00
|
|
|
$ sudo apt-get install python-setuptools python-pygame python-opengl \
|
|
|
|
python-gst0.10 python-enchant gstreamer0.10-plugins-good cython python-dev \
|
|
|
|
build-essential libgl1-mesa-dev libgles2-mesa-dev
|
|
|
|
$ easy_install kivy
|
|
|
|
|
|
|
|
If you already installed kivy before, you can upgrade it with::
|
|
|
|
|
|
|
|
$ easy_install -U kivy
|
|
|
|
|
2011-02-03 15:02:23 +00:00
|
|
|
|
|
|
|
.. _linux-run-app:
|
|
|
|
|
|
|
|
Start from Command Line
|
|
|
|
-----------------------
|
|
|
|
|
2011-02-01 10:26:15 +00:00
|
|
|
You can know run any example from the examples directory of kivy::
|
2011-02-01 10:24:24 +00:00
|
|
|
|
|
|
|
$ cd <path to kivy directory>/examples/demo
|
|
|
|
$ python touchtracer.py
|
|
|
|
|