⚠️ Warning
This documentation is outdated. Please visit the documentation for TBlock 2.7.0 or later.

Build & install from source

If no package is available for your distribution, you can install TBlock and TBlock GUI from source.

Build and install tblock

Download and extract the latest stable tarball

$ wget https://codeberg.org/tblock/tblock/archive/x.x.x.tar.gz -O tblock.tar.gz
$ tar -xvf tblock.tar.gz
$ cd tblock

Build the package

$ make

Install the package (systemd)

$ sudo make install install-config

Install the package (OpenRC)

$ sudo make install-openrc install-config

Install the package (runit)

$ sudo make install-runit install-config

Install the package (dinit)

$ sudo make install-dinit install-config

Build and install tblock-gui

🟢 Tip
The package tblock-gui depends on tblock. You should build and install tblock before trying to build tblock-gui.

Download and extract the latest stable tarball

$ wget https://codeberg.org/tblock/tblock-gui/archive/x.x.x.tar.gz -O tblock-gui.tar.gz
$ tar -xvf tblock-gui.tar.gz
$ cd tblock-gui

Build the package

$ make

Install the package

$ sudo make install