2019-03-15 17:32:23 +00:00
---
tags: dontlink
sitemap: true
---
2019-03-15 18:27:41 +00:00
# Installing on Debian, Ubuntu, elementaryOS, Linux Mint and similar
**These instructions apply to any Debian-based distribution with `systemd` .**
2019-03-15 17:32:23 +00:00
Yggdrasil is supported on Debian Linux. Debian binary packages exist to simplify
the installation of Yggdrasil. These will also work on any Debian-based
distribution, e.g. elementaryOS.
2022-09-24 14:14:06 +00:00
## One-off installation
Debian packages are built and are available in the [GitHub Releases ](https://github.com/yggdrasil-network/yggdrasil-go/releases ).
Install the package using `dpkg -i filename.deb` .
## Package install from your distribution
Some Debian-based distributions may have an `yggdrasil-go` package available in
their repositories:
```
sudo apt-get install yggdrasil
```
2019-03-15 18:27:41 +00:00
## Package install from the S3 repository
2019-03-15 17:32:23 +00:00
2019-03-19 15:52:22 +00:00
On some platforms, e.g. Raspberry Pi, you may need to start by installing
`dirmngr` if it is not already available:
```
sudo apt-get install dirmngr
```
2019-03-16 04:43:39 +00:00
2019-03-19 15:52:22 +00:00
Then import the repository key to your `gpg` keyring and export it to your
`apt` keyring:
2019-03-15 17:32:23 +00:00
```
2022-04-17 10:45:00 +00:00
sudo mkdir -p /usr/local/apt-keys
2019-06-19 21:45:58 +00:00
gpg --fetch-keys https://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/key.txt
2022-04-17 10:45:00 +00:00
gpg --export 569130E8CA20FBC4CB3FDE555898470A764B32C9 | sudo tee /usr/local/apt-keys/yggdrasil-keyring.gpg > /dev/null
2019-03-15 17:32:23 +00:00
```
Add the repository into your `apt` sources:
```
2022-04-17 10:45:00 +00:00
echo 'deb [signed-by=/usr/local/apt-keys/yggdrasil-keyring.gpg] http://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/ debian yggdrasil' | sudo tee /etc/apt/sources.list.d/yggdrasil.list
2019-03-15 17:32:23 +00:00
sudo apt-get update
```
**Note**: The repository also works over HTTPS - you will need to `sudo apt-get install apt-transport-https` and then edit the above URL so that it starts with `https://` instead of `http://` in `/etc/apt/sources.list.d/yggdrasil.list` .
Install Yggdrasil:
```
sudo apt-get install yggdrasil
```
2022-09-24 14:14:06 +00:00
## After installation
2019-03-15 17:32:23 +00:00
Configuration will be generated automatically into `/etc/yggdrasil.conf` when
the package is installed, and the Yggdrasil service will automatically be
installed into `systemd` .
Enable and start the service after install/upgrade:
```
sudo systemctl enable yggdrasil
sudo systemctl start yggdrasil
```
2022-09-24 14:14:06 +00:00
To make configuration changes, modify the `/etc/yggdrasil.conf` file and then restart the Yggdrasil daemon:
2019-03-15 17:32:23 +00:00
```
systemctl restart yggdrasil
```
2021-11-11 21:46:15 +00:00
Read the [Linux platform page ](configuration.md ) page for further
2019-03-15 17:32:23 +00:00
information about Linux platform support.