Користувальницькькі налаштування

Налаштування сайту


software:os:linux:additional_repos

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

Порівняння попередніх версій Попередня ревізія
Наступна ревізія
Попередня ревізія
software:os:linux:additional_repos [2022/08/17 15:48]
charon
software:os:linux:additional_repos [2023/02/14 19:58] (поточний)
charon [Add signing key for repository]
Рядок 16: Рядок 16:
 I think it means if you need to bother with key, then just put it to ///etc/apt/keyrings// I think it means if you need to bother with key, then just put it to ///etc/apt/keyrings//
  
 +===== Using new .sources =====
 +.sources file instead of a .list file. This method is relatively new, and uses the deb822 multiline format that is less ambiguous compared to the deb . . . declaration, though is functionally identical. Create a new file:
 +  Types: deb
 +  Architectures: amd64 arm64
 +  Signed-By: /usr/share/keyrings/nodesource.gpg
 +  URIs: https://deb.nodesource.com/node_16.x
 +  Suites: jammy
 +  Components: main
 + 
 ===== How to get the key ===== ===== How to get the key =====
 There are two ways, depending on what package developer implemented There are two ways, depending on what package developer implemented
  
-1. Download key from keyserver or keyserver pool+==== 1. Download key from keyserver or keyserver pool ==== 
 +  sudo gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/usefulpackage.gpg --keyserver \ 
 +  keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB6517111119E084DAB9
  
-First, download the key from keyserver to local user storage: +==== 2. Download key in file from developer's location ==== 
-  gpg --keyserver keyserver.ubuntu.com --recv-keys D33A1BD725ED047D +  curl -fsSL https://dbeaver.io/debs/dbeaver.gpg.key > dbeaver.gpg 
-After that export key to file and put it to keyring directory+Check if key is armored (looks like ASCII text and not binary), and if so, unarmor it: 
-  gpg --export --armor D33A1BD725ED047D |sudo tee /etc/apt/keyrings/usefulpackage.gpg +  curl -fsSL https://dbeaver.io/debs/dbeaver.gpg.key | gpg --dearmor -o dbeaver.gpg 
-<WRAP center round important 60%> +Move the key to ///etc/apt/keyrings//: 
-I didn't find out whether key should be ascii-armored or notMost likely should be unarmored (binary). +  mv dbeaver.gpg /etc/apt/keyrings/
-</WRAP>+
  
- +===== Links ===== 
- +  [[https://wiki.debian.org/DebianRepository/UseThirdParty|Instructions to connect to a third-party repository]]
-[[https://wiki.debian.org/DebianRepository/UseThirdParty|Instructions to connect to a third-party repository]]+
software/os/linux/additional_repos.1660740538.txt.gz · Востаннє змінено: 2022/08/17 15:48 повз charon