mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-16 04:34:56 +02:00
1.8 KiB
1.8 KiB
The repository is hosted on [{{ site.apt.url }}]({{ site.apt.url }})
Setup
First you must add our gpg key to apt:
$ curl {{ site.apt.url }}/key | sudo apt-key add -
Then you can add one or more of your repositories:
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/eosio bionic stable'
$ sudo apt-get update
The url is structures as follows:
{{ site.apt.url }}/<repository> bionic <component> [ <component1> ] [ <componentN> ]
one repository and one or more components needs to be specified. These are explained below.
Contents
Here is a list of different repositories we provide. Each repository has 3 different components described below.
Components
| Name | Description |
|---|---|
| stable | Releases that are properly tested and does not contain any experimental code |
| edge | Development releases that may or may not work as expected. Do not use in production evironment |
| testing | Cutting edge releases, everything ends up here first to be tested before being moved to edge or stable |
Repositories
{% for repo in site.repos %}
- [{{ repo.name }}]({{ repo.url }}) - {{ repo.description }} {% endfor %}
Example
To add the stable eosio repository the following command will do:
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/main bionic stable'
To add both edge and stable components for the main repository:
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/main bionic stable edge