aboutsummaryrefslogblamecommitdiffstats
path: root/packages.md
blob: c22032ed80c97c53069b03ddcb15106501f71c61 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



                      







                                                                               
                                                                             

                                                                                
 
                                                         
 
                                                                                       




                                                      










                                                                 














                                                                                                                        
---
title: Package mirrors
---

sr.ht operates a number of automatically-updated package repositories where you
can find packages for sr.ht software in various distributions at
[mirror.sr.ht](https://mirror.sr.ht).

# Package Repositories

## Alpine Linux

This is the recommended distribution of SourceHut, and the one we use for the
hosted instance upstream. This must be the first line in `/etc/apk/repositories`
— we shadow some upstream packages with patched versions.

**Mirror URL**: `https://mirror.sr.ht/alpine/v3.11/sr.ht`

**Signing Key**: [alpine@sr.ht.pub](https://mirror.sr.ht/alpine/alpine%40sr.ht.rsa.pub)

## Arch Linux

**Mirror URL**: `https://mirror.sr.ht/archlinux/sr.ht`

```
[sr.ht]
Server = https://mirror.sr.ht/archlinux/sr.ht
```

**Signing Key**: `C0AAFC1676BD998617C94C42DC59670F1EB0A189`

```
$ pacman-key --recv-keys C0AAFC1676BD998617C94C42DC59670F1EB0A189
$ pacman-key --lsign-key C0AAFC1676BD998617C94C42DC59670F1EB0A189
```

## Debian

**Mirror URL**: `https://mirror.sr.ht/debian`

```
deb https://mirror.sr.ht/debian sid main
```

**Signing Key**: [key.asc](https://mirror.sr.ht/debian/key.asc) `6B1296C65B24472674E7B6520585B50AC6A4914D`


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