Difference between revisions of "Debian repository"

From cogniteam
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
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>