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:...")
 
Line 1: Line 1:
  
== Repository setup ==
+
= Cogniteam's debian repositories setup =
 
   
 
   
 
=== Setup APT sources list ===
 
=== Setup APT sources list ===

Revision as of 12:07, 4 December 2019

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 deb ftp://USER:PASSWORD@apt.cogni.io bionic $(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 - ftp://public:public@apt.cogni.io/apt_cogni_io.gpg.key | sudo apt-key add - </syntaxhighlight>

Update APT index

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