mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-16 04:34:56 +02:00
44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
HTML
|
|
{% assign setup-instructions_repo = include.repo | default: site.apt.repo %}
|
|
{% assign setup-instructions_dist = include.distribution | default: site.apt.distribution %}
|
|
{% assign setup-instructions_domain = include.domain | default: site.apt.domain %}
|
|
|
|
{% if include.collapse %}
|
|
<div x-data="collapse">
|
|
<h2>Setup - <a href="#" x-bind="trigger"></a></h2>
|
|
|
|
<div x-bind="target" x-transition.opacity>
|
|
|
|
{% endif %}
|
|
|
|
<p>First you need to make sure some packages are installed and that our <code>gpg</code> key is added to <code>apt</code>:</p>
|
|
|
|
{% highlight bash %}
|
|
sudo apt-get install software-properties-common
|
|
curl -sS https://{{ setup-instructions_domain }}/key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/eossweden-2023.gpg > /dev/null
|
|
{% endhighlight %}
|
|
|
|
<p>Then you can add one or more of your repositories:</p>
|
|
|
|
{% include apt-add.html
|
|
repo=setup-instructions_repo
|
|
distribution=setup-instructions_dist
|
|
domain=setup-instructions_domain
|
|
components="stable"
|
|
update=true %}
|
|
|
|
<p>The url is structures as follows:</p>
|
|
|
|
{% highlight html %}
|
|
https://{{ setup-instructions_domain }}/<repository> <distribution> <component> [ <component1> ] [ <componentN> ]
|
|
{% endhighlight %}
|
|
|
|
<p>
|
|
one <code>repository</code>, <code>distribution</code> and one or more <code>components</code> needs to be specified.
|
|
These are explained in detail <a href="{{ "/help" | absolute_url }}">here</a>
|
|
</p>
|
|
|
|
{% if include.collapse %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|