add apt repo

This commit is contained in:
Léo Haf 2025-04-30 10:39:53 +02:00 committed by GitHub
parent 9ed9189963
commit c5ae47def3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Bitcoin Knots
- [datacarrier](page/datacarrier.md)
- [Migration Core -> Knots on umbrel](/page/migrationumbrel.md)
- [APT repo for Debian 12](/page/apt.md)
DATUM
---

19
page/apt.md Normal file
View File

@ -0,0 +1,19 @@
This steps work on Debian 12.
1. Get Léo Haf's key and add it to the apt key list:
```
wget --quiet -O - https://apt.orangepill.ovh/gpg-pubkey.asc | sudo tee /etc/apt/keyrings/leohaf.asc
```
2. Add the repository to your apt repository list and indicate the GPG key to use:
```
echo "deb [signed-by=/etc/apt/keyrings/leohaf.asc arch=$(dpkg --print-architecture)] https://apt.orangepill.ovh bookworm main" | sudo tee /etc/apt/sources.list.d/bitcoin-knots.list
```
3. Update apt and install Bitcoin Knots:
```
sudo apt update && sudo apt install bitcoin-knots
```