Debian repository

From cogniteam
Revision as of 12:06, 4 December 2019 by Blackpc (talk | contribs) (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:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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://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>