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 packagetblock-gui
depends ontblock
. You should build and installtblock
before trying to buildtblock-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
Remove dependency on polkit (expert only)
$ patch -p1 -i data/patch/no-polkit.patch
⚠️ Warning
If you remove the dependency on polkit, you'll need to calltblockg
from command-line with root access every time you want to start the GUI.
Build the package
$ make
Install the package
$ sudo make install