-
Notifications
You must be signed in to change notification settings - Fork 32
Installation
The recommended way of running Tuhi is by using its flatpak. This is especially true on any distrubution older than a few months.
$> flatpak install --user org.freedesktop.Tuhi
Looking for matches…
Found similar ref(s) for ‘org.freedesktop.Tuhi’ in remote ‘flathub’ (user).
Use this remote? [Y/n]: y
...
Tuhi uses the meson build system. It requires the following packages to be installed:
- Fedora:
python3-devel
andpygobject3-devel
- Debian/Ubuntu:
python3-dev
andpython3-gi
To build Tuhi, run the following commands:
$> git clone http://github.com/tuhiproject/tuhi
$> meson builddir
$> ninja -C builddir
$> ./builddir/tuhi.devel
Note the special binary tuhi.devel
, it is provided to run everything from the git repository.
To install, simply run ninja -C builddir install
after the meson
stage:
$> git clone http://github.com/tuhiproject/tuhi
$> cd tuhi
$> meson builddir
$> ninja -C builddir install
$> tuhi
Note that we now run tuhi
instead of tuhi.devel
- this is the system-installed version that uses system-wide modules.
Alternatively, you can build a local flatpak and run that. For that, you need the correct SDK installed
$> flatpak --user install org.gnome.Sdk/x86_64/3.32
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 --install --user build-dir --force-clean org.freedesktop.Tuhi.json
... this builds all dependencies as well and install the flatpak
$> flatpak run org.freedesktop.Tuhi
To remove Tuhi, run flatpak remove org.freedesktop.Tuhi
.
Tuhi is packaged in the following distributions:
- Arch linux: https://aur.archlinux.org/packages/tuhi-git/
Note that we have little influence over the distribution packages and cannot guarantee that they are up-to-date.