Added repositories page

This commit is contained in:
Tastatur 2023-12-29 22:43:24 +01:00
parent d7433b835e
commit 336d27f77a
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Repositories
It's important to set the correct repositories when using any Linux distro. For Alpine these can be configured in `/etc/apk/repositories`:
```
https://dl-cdn.alpinelinux.org/alpine/latest-stable/main
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
```
This will use the latest stable repository of Alpine (for example `v3.19`). To use a different version of Alpine simply change `latest-stable` to whatever version you want. Do note that you can not (easily) downgrade your systems version. There are also the edge repositories which contain more packages but these are not recommended because they can result in faster breakage of your system.
## apk-ample
We also host our own repository which contains some packages not found in the stable repository like `nix` but also our own packages like `linux-hardened`. If you want to add it to your system edit `/etc/apk/repositories` and add this line under the other repositories:
```
https://git.bijl.us/lnco/apk-ample/raw/branch/main/alpine/
```

View file

@ -49,6 +49,7 @@ nav:
- 'Post installation': - 'Post installation':
- 'Network': alpine-desktop-setup/post-install/network.md - 'Network': alpine-desktop-setup/post-install/network.md
- 'Security': alpine-desktop-setup/post-install/security.md - 'Security': alpine-desktop-setup/post-install/security.md
- 'Repository': alpine-desktop-setup/post-install/repositories.md
- 'Users': alpine-desktop-setup/post-install/users.md - 'Users': alpine-desktop-setup/post-install/users.md
- 'Nix': alpine-desktop-setup/post-install/nix.md - 'Nix': alpine-desktop-setup/post-install/nix.md
- 'Config files': alpine-desktop-setup/post-install/config-files.md - 'Config files': alpine-desktop-setup/post-install/config-files.md