diff options
| author | theofficialgman <28281419+theofficialgman@users.noreply.github.com> | 2024-06-19 12:39:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-19 18:39:03 +0200 |
| commit | 9ab686b3e0dca52700d2d91a0da77e5360494fe1 (patch) | |
| tree | aac79934d3bb780dcfea3f1c43ac5090feb7c07e /docs | |
| parent | 5b24440e8c3a30b2562c828189cc37f9852cfb67 (diff) | |
| download | box64-9ab686b3e0dca52700d2d91a0da77e5360494fe1.tar.gz box64-9ab686b3e0dca52700d2d91a0da77e5360494fe1.zip | |
switch to maintained Pi-Apps-Coders apt repo (#1605)
closes https://github.com/ptitSeb/box64/issues/1576
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/COMPILE.md | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/docs/COMPILE.md b/docs/COMPILE.md index f19557fb..072b2834 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -2,12 +2,34 @@ Compiling/Installing ---- ### Debian-based Linux -You can use [@ryanfortner](https://github.com/ryanfortner)'s apt repository to install precompiled box64 debs, updated every 24 hours. - -``` -sudo wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list -wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg -sudo apt update && sudo apt install box64-arm64 -y +You can use the [Pi-Apps-Coders apt repository](https://github.com/Pi-Apps-Coders/box64-debs) to install precompiled box64 debs, updated every 24 hours. + +``` +# check if .list file already exists +if [ -f /etc/apt/sources.list.d/box64.list ]; then + sudo rm -f /etc/apt/sources.list.d/box64.list || exit 1 +fi + +# check if .sources file already exists +if [ -f /etc/apt/sources.list.d/box64.sources ]; then + sudo rm -f /etc/apt/sources.list.d/box64.sources || exit 1 +fi + +# download gpg key from specified url +if [ -f /usr/share/keyrings/box64-archive-keyring.gpg ]; then + sudo rm -f /usr/share/keyrings/box64-archive-keyring.gpg +fi +sudo mkdir -p /usr/share/keyrings +wget -qO- "https://pi-apps-coders.github.io/box64-debs/KEY.gpg" | sudo gpg --dearmor -o /usr/share/keyrings/box64-archive-keyring.gpg + +# create .sources file +echo "Types: deb +URIs: https://Pi-Apps-Coders.github.io/box64-debs/debian +Suites: ./ +Signed-By: /usr/share/keyrings/box64-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/box64.sources >/dev/null + +sudo apt update +sudo apt install box64-generic-arm -y ``` Alternatively, you can generate your own package using the [instructions below](https://github.com/ptitSeb/box64/blob/main/docs/COMPILE.md#debian-packaging). |