From f186b71ca51e83837db60de13322394bb5e6d348 Mon Sep 17 00:00:00 2001 From: murilo ijanc Date: Tue, 24 Mar 2026 21:41:06 -0300 Subject: Initial commit Import existing tesseras.net website content. --- news/packaging-archlinux/index.html | 123 ++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 news/packaging-archlinux/index.html (limited to 'news/packaging-archlinux/index.html') diff --git a/news/packaging-archlinux/index.html b/news/packaging-archlinux/index.html new file mode 100644 index 0000000..043464f --- /dev/null +++ b/news/packaging-archlinux/index.html @@ -0,0 +1,123 @@ + + + + + + Packaging Tesseras for Arch Linux — Tesseras + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ + + Tesseras + +

+ + +
+ +
+ +
+

Packaging Tesseras for Arch Linux

+

2026-02-16

+

Tesseras now ships a PKGBUILD for Arch Linux. This post walks through building +and installing the package from source.

+

Prerequisites

+

You need a working Rust toolchain and the base-devel group:

+
sudo pacman -S --needed base-devel sqlite
+rustup toolchain install stable
+
+

Building

+

Clone the repository and run the just arch recipe:

+
git clone https://git.sr.ht/~ijanc/tesseras
+cd tesseras
+just arch
+
+

This runs makepkg -sf inside packaging/archlinux/, which:

+
    +
  1. prepare — fetches Cargo dependencies with cargo fetch --locked
  2. +
  3. build — compiles tesd and tes (the CLI) in release mode
  4. +
  5. package — installs binaries, systemd service, sysusers/tmpfiles configs, +shell completions (bash, zsh, fish), and a default config file
  6. +
+

The result is a .pkg.tar.zst file in packaging/archlinux/.

+

Installing

+
sudo pacman -U packaging/archlinux/tesseras-*.pkg.tar.zst
+
+

Post-install setup

+

The package creates a tesseras system user and group automatically via +systemd-sysusers. To use the CLI without sudo, add yourself to the group:

+
sudo usermod -aG tesseras $USER
+
+

Log out and back in, then start the daemon:

+
sudo systemctl enable --now tesd
+
+

What the package includes

+ + + + + + + + +
PathDescription
/usr/bin/tesdFull node daemon
/usr/bin/tesCLI client
/etc/tesseras/config.tomlDefault configuration (marked as backup)
/usr/lib/systemd/system/tesd.serviceSystemd unit with security hardening
/usr/lib/sysusers.d/tesseras.confSystem user definition
/usr/lib/tmpfiles.d/tesseras.confData directory /var/lib/tesseras
Shell completionsbash, zsh, and fish
+

PKGBUILD details

+

The PKGBUILD builds directly from the local git checkout rather than downloading +a source tarball. The TESSERAS_ROOT environment variable points makepkg to the +workspace root. Cargo's target directory is set to $srcdir/target to keep +build artifacts inside the makepkg sandbox.

+

The package depends only on sqlite at runtime and cargo at build time.

+

Updating

+

After pulling new changes, simply run just arch again and reinstall:

+
git pull
+just arch
+sudo pacman -U packaging/archlinux/tesseras-*.pkg.tar.zst
+
+ +
+ +
+ + + + -- cgit v1.2.3