From 52cb444d02ef445a8544f99191386a606620ece1 Mon Sep 17 00:00:00 2001 From: Darshaka Pathirana Date: Fri, 26 Feb 2021 01:08:30 +0100 Subject: [PATCH] Update Debian 10 (buster) installation instruction Avoid using `apt-key add -` and follow Debian best-practices on how to use 3rd party Debian repository signed keys: * https://michael-prokop.at/blog/2021/02/16/how-to-properly-use-3rd-party-debian-repository-signing-keys-with-apt/ * https://wiki.debian.org/DebianRepository/UseThirdParty#Sources.list_entry That way you can also encourage the user to check the GPG fingerprint. Added Debian codename "buster", so people can find it when searching for it in this repository. Also removed Bintray URL as it is deprecated and is going "sunset" on May 1st 2021, see: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ --- INSTALL.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index f4a6736b6..8be4d067c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -3,18 +3,24 @@ Stable version installation on Unix-like systems (e.g. GNU/Linux or *BSD): * Check your OS repository for already built packages. * Check https://celestia.space/download.html. -* Check https://bintray.com/celestia if it contains packages for your system. Stable version installation on Windows and OSX: * Check https://celestia.space/download.html. Development snapshots installation on Unix-like systems: -### On Debian 10 and derived systems: +### On Debian 10 (buster) and derived systems: ``` -curl https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/Release.key | sudo apt-key add - -echo "deb https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list -sudo apt update && sudo apt install celestia +❯ curl -fsSL -o celestia.gpg https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/Release.key +❯ gpg --keyid-format long celestia.gpg +gpg: WARNING: no command supplied. Trying to guess what you mean ... +pub rsa2048/BDF3F6ACD4D81407 2014-06-09 [SC] [expires: 2023-02-14] + 3FE0C0AC1FD6F1034B818A14BDF3F6ACD4D81407 +uid home:munix9 OBS Project +❯ sudo mv celestia.gpg /usr/share/keyrings/celestia.asc + +❯ echo "deb [signed-by=/usr/share/keyrings/celestia.asc] https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list +❯ sudo apt update && sudo apt install celestia ``` ### On Ubuntu 18.04/20.04 and derived systems: