innernet-debian/README.md

65 lines
1.9 KiB
Markdown
Raw Normal View History

2021-09-11 11:31:31 +00:00
# Unofficial Innernet APT Repository
2023-07-30 12:31:14 +00:00
[![Update Repository](https://github.com/tommie/innernet-debian/actions/workflows/main.yml/badge.svg?event=schedule)](https://github.com/tommie/innernet-debian/actions/workflows/main.yml)
2023-05-12 14:46:32 +00:00
This is a Debian/Ubuntu APT repository containing `.deb` files from https://github.com/tonarino/innernet/releases.
The updates are fully reproducible through GitHub Actions.
2021-09-11 11:31:31 +00:00
For more information, see https://github.com/tonarino/innernet.
## Installation
### Adding the Repository
```sh
2023-05-12 14:46:32 +00:00
codename=$(lsb_release --codename --short)
curl -sS https://tommie.github.io/innernet-debian/repository.asc | sudo tee /etc/apt/keyrings/github-tommie-innernet.asc >/dev/null
cat >/etc/apt/sources.list.d/innernet.list <<EOF
2023-05-12 14:46:32 +00:00
deb [signed-by=/etc/apt/keyrings/github-tommie-innernet.asc] https://tommie.github.io/innernet-debian/debian $codename contrib
2021-09-11 11:31:31 +00:00
EOF
apt update
2021-09-11 11:31:31 +00:00
```
### Installing the Server
2023-05-12 14:46:32 +00:00
This is installed on the coordination server machine.
It needs to be accessible from all peers.
2021-09-11 11:31:31 +00:00
```shell
$ sudo apt install innernet-server
2021-09-11 11:31:31 +00:00
```
### Installing the Peer Client
This is installed on all peers.
```shell
$ sudo apt install innernet
2021-09-11 11:31:31 +00:00
```
2023-07-30 13:35:46 +00:00
## Compatibility
We build for
* Ubuntu 20.04 (**focal**)
* Ubuntu 22.04 (**jammy**)
on
* **amd64**, x86_64
* **armhf**, armv7 (cross-build)
* **arm64**, aarch64 (cross-build)
Additionally:
* Debian 11 (**bullseye**) is served by `focal`.
There is a symlink in place to allow `bullseye`, which will cause APT to warn that the codenames missmatch.
In the end, either name works.
The authoritative source of supported distributions and architectures is [`conf/distributions`](https://github.com/tommie/innernet-debian/blob/main/debian/conf/distributions).
2021-09-11 11:31:31 +00:00
## License
2023-05-12 14:46:32 +00:00
The repository maintenance code itself is under the MIT License.
See also [LICENSE in tonarino/innernet](https://github.com/tonarino/innernet/blob/main/LICENSE).