👻 Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
This repository contains build scripts to produce the unofficial Debian packages (.deb) for the master branch of Zig hosted at debian.griffo.io
Currently supported debian distros are:
- Bookworm
- Trixie
- Sid
This is an unofficial community project to provide a package that's easy to install on Debian. If you're looking for the Zig source code, see ziglang/zig.
curl -sS https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/debian.griffo.io.gpg
echo "deb https://debian.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/debian.griffo.io.list
sudo apt install zig-master- Download the .deb package for your Debian version available on the Releases page.
- Install the downloaded .deb package.
sudo dpkg -i <filename>.debTo update to a new version, just follow any of the installation methods above. There's no need to uninstall the old version; it will be updated correctly.
I want to have an easy-to-install Zig package for Debian, so I'm doing what I can to make it happen. If you want to test locally, you should be able to run build_zig_debian.sh on your own Debian system, only requirement is docker.
- Produce a .deb package on GitHub Releases
- Set up a debian mirror for easier updates
- This repo is not open for issues related to zig. This repo is only for unofficial Debian packaging.
- This repository is based on the amazing work of Mike Kasberg and his Zig Ubuntu packages

