Difference between revisions of "Debian repository"

From cogniteam
Jump to: navigation, search
(Created page with " == Repository setup == === Setup APT sources list === Add Cogniteam's APT repository to your APT sources list: <syntaxhighlight lang="cpp"> sudo sh -c 'echo "deb deb ftp:...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
== Repository setup ==
+
= Cogniteam's debian repositories setup =
 
   
 
   
 
=== Setup APT sources list ===
 
=== Setup APT sources list ===
 
Add Cogniteam's APT repository to your APT sources list:   
 
Add Cogniteam's APT repository to your APT sources list:   
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
sudo sh -c 'echo "deb deb ftp://USER:PASSWORD@apt.cogni.io bionic $(lsb_release -sc) main" > /etc/apt/sources.list.d/apt-cogni-io.list'
+
sudo sh -c 'echo "deb ftp://USER:PASSWORD@apt.cogni.io $(lsb_release -sc) main" > /etc/apt/sources.list.d/apt-cogni-io.list'
 
</syntaxhighlight>
 
</syntaxhighlight>
 
''Note: change '''USER''' and '''PASSWORD''' with credentials provided to you''
 
''Note: change '''USER''' and '''PASSWORD''' with credentials provided to you''
Line 11: Line 11:
 
=== Setup APT keys ===
 
=== Setup APT keys ===
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
wget -O - ftp://public:public@apt.cogni.io/apt_cogni_io.gpg.key | sudo apt-key add -
+
wget -O - https://cloud.cogni.io/apt_pub.gpg | sudo apt-key add -
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 18:20, 19 January 2020

Cogniteam's debian repositories setup

Setup APT sources list

Add Cogniteam's APT repository to your APT sources list: <syntaxhighlight lang="cpp"> sudo sh -c 'echo "deb ftp://USER:PASSWORD@apt.cogni.io $(lsb_release -sc) main" > /etc/apt/sources.list.d/apt-cogni-io.list' </syntaxhighlight> Note: change USER and PASSWORD with credentials provided to you

Setup APT keys

<syntaxhighlight lang="cpp"> wget -O - https://cloud.cogni.io/apt_pub.gpg | sudo apt-key add - </syntaxhighlight>

Update APT index

<syntaxhighlight lang="cpp"> sudo apt update </syntaxhighlight>