Table of Contents

  1. Alpine Linux
  2. Arch Linux
  3. Debian

SourceHut operates a number of package repositories for sr.ht software. These repositories, which support various distributions, are available at mirror.sr.ht.

If you would like to contribute to the package repositories, we accept patches at sr.ht-packages.

Warning: SourceHut is still in alpha, and has no stable releases. As such, we do not recommend packaging SourceHut for your upstream distribution repositories until we have shipped stable versions of our software.

If you are still interested in packaging it for your distribution, please reach out to us for help in automating the maintenance of a third-party distribution which is automatically updated following our (frequent) upstream rolling releases.

#Alpine Linux

Mirror: https://mirror.sr.ht/alpine/v3.14/sr.ht

Signing key: alpine@sr.ht.pub

Maintainer: Drew DeVault sir@cmpwn.com

Source: https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds

# Add the following line to /etc/apk/repositories
https://mirror.sr.ht/alpine/v3.14/sr.ht

# Install signing key
wget -q -O /etc/apk/keys/alpine@sr.ht.rsa.pub https://mirror.sr.ht/alpine/alpine@sr.ht.rsa.pub

# Update package index
apk update
Warning: SourceHut shadows some upstream packages with patched versions. The SourceHut mirror must be the first repository in /etc/apk/repositories.
Warning: You cannot upgrade to new Alpine releases until we provide a repository for that Alpine version. Announcements of the build status of new Alpine releases are provided on the sr.ht-admins mailing list.
Warning: The Alpine Linux community package repository must be enabled.

#Arch Linux

Mirror: https://mirror.sr.ht/archlinux/sr.ht

Signing key: C0AAFC1676BD998617C94C42DC59670F1EB0A189

Maintainer: Eli Schwartz eschwartz@archlinux.org

Source: https://git.sr.ht/~sircmpwn/sr.ht-pkgbuilds

# Add the following two lines to /etc/pacman.conf
[sr.ht]
Server = https://mirror.sr.ht/archlinux/sr.ht

# Install signing key
sudo pacman-key --recv-keys C0AAFC1676BD998617C94C42DC59670F1EB0A189
sudo pacman-key --lsign-key C0AAFC1676BD998617C94C42DC59670F1EB0A189

# Update package index
sudo pacman -Syu

#Debian

Mirror: https://mirror.sr.ht/debian

Signing key: key.asc 6B1296C65B24472674E7B6520585B50AC6A4914D

Maintainer: Denis Laxalde denis@laxalde.org (help wanted)

Source: https://git.sr.ht/~dlax/sr.ht-debbuilds

# Add the following line to /etc/apt/sources.list
deb https://mirror.sr.ht/debian sid main

# Install signing key
wget -q https://mirror.sr.ht/debian/key.asc  -O - | sudo apt-key --keyring /etc/apt/trusted.gpg.d/debian.sr.ht.gpg add -

# Update package index
sudo apt update

About this wiki

commit ac19223120f57fbbd88ec8c784250b0343a6405d
Author: Haowen Liu <liu.haowen.andy@gmail.com>
Date:   2021-10-22T19:11:15-07:00

Add Ubuntu Jammy
Clone this wiki
https://git.sr.ht/~sircmpwn/sr.ht-docs (read-only)
git@git.sr.ht:~sircmpwn/sr.ht-docs (read/write)