documentation/docs/alpine-desktop-setup/post-install/repositories.md

19 lines
1 KiB
Markdown
Raw Normal View History

2023-12-29 22:43:24 +01:00
# 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
```
2023-12-29 22:47:38 +01:00
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 system's version. There also is the `edge` repository which contains more packages but it is not recommended because it can result in faster breakage of your system.
2023-12-29 22:43:24 +01:00
## 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/
```