Skip to content

Installation

Peter Hutterer edited this page Jul 15, 2019 · 12 revisions

Running from git

Tuhi can run from the git repository without the need to build anything. Simply check out the code and run tuhi.py from the git repository.

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

Installation using setuptools

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.

Installation through flatpak

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
   ... this builds all dependencies as well
$> flatpak-builder --run build-dir org.freedesktop.tuhi.json tuhi-kete
   ... this starts tuhi in the background and provides kete, the commandline utility

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

Clone this wiki locally