Skip to content

dariogriffo/zig-debian

Repository files navigation

GitHub Downloads (all assets, all releases) GitHub Downloads (all assets, latest release) GitHub Release GitHub Release Date

Zig Logo Debian Logo
Zig for Debian

👻 Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Zig for Debian

This repository contains build scripts to produce the unofficial Debian packages (.deb) for 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.

Install/Update

The Debian way

curl -sS https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo 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 update
sudo apt install zig

Manual Installation

  1. Download the .deb package for your Debian version available on the Releases page.
  2. Install the downloaded .deb package.
sudo dpkg -i <filename>.deb

Updating

To 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.

Contributing

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.

Roadmap

  • Produce a .deb package on GitHub Releases
  • Set up a debian mirror for easier updates

Disclaimer

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages