Difference between revisions of "Debian repository"
From cogniteam
(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: | ||
− | = | + | = 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 " | + | 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 - | + | wget -O - https://cloud.cogni.io/apt_pub.gpg | sudo apt-key add - |
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 18:20, 19 January 2020
Contents
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>