Skip to content

Installation

Peter Hutterer edited this page Jun 7, 2019 · 12 revisions

Tuhi is a pure python program and uses setuptools for installation. The installation procedure is the default sequence of commands for any setup.py-based project:

 $> git clone http://github.com/tuhiproject/tuhi
 $> cd tuhi
 $> python3 setup.py install
 $> tuhi

Please see the setuptools documentation for more information.

Alternatively, you can build a local flatpak and run that. For that, you need the correct SDK installed

$> flatpak --user install org.freedesktop.Sdk/x86_64/18.08 

This SDK is used by several applications, so you may already have it installed. Leaving out the --user argument installs it system-wide.

$> git clone http://github.com/tuhiproject/tuhi
$> cd tuhi
$> flatpak-builder --user build-dir --force-clean org.freedesktop.tuhi.json
[... builds all dependencies as well ...]
$> flatpak-builder --run build-dir org.freedesktop.tuhi.json tuhi
[ tuhi is now running, background it or start a new shell ]
$> flatpak-builder --run build-dir org.freedesktop.tuhi.json tuhi-kete
[ kete is the 

No system dependencies are installed, removing the build-dir will remove all installed files.

Clone this wiki locally