Repository Management
While Solus currently only provides two repositories, stable (shannon) and unstable, our package manager does support actively using multiple repositories on your system. This is useful if you are using a vendor-provided repository.
Official Solus repositories
The official Solus repositories are:
Repository | URL | Notes |
---|---|---|
Stable (shannon) | https://cdn.getsol.us/repo/shannon/eopkg-index.xml.xz | This is the default repository. |
Unstable | https://cdn.getsol.us/repo/unstable/eopkg-index.xml.xz | This repository should only be used if you intend to build Solus packages or to test new packages before they are synced to the stable repository. |
It is not always safe to perform a system update when using the unstable repository. Always check the topic of the #solus-packaging Matrix room before updating.
Adding a repository
You can add a repository by using:
sudo eopkg add-repo Name URL
For example:
sudo eopkg add-repo Example https://example.com/repo/eopkg-index.xml.xz
Note: This does not enable the repository.
Removing a repository
You can remove a repository by using:
sudo eopkg remove-repo Name
For example:
sudo eopkg remove-repo Example
Enabling a repository
You can enable a repository for usage, by using:
sudo eopkg enable-repo Name
For example:
sudo eopkg enable-repo Example
Disabling a repository
You can disable a repository by using:
sudo eopkg disable-repo Name
For example:
sudo eopkg disable-repo Example
Updating a repository
You can update the index of a repository by using:
sudo eopkg update-repo Name
For example:
sudo eopkg update-repo Example
Note: You can update all repositories by not providing a name.
List repositories
You can list all the repositories added on your system by using:
eopkg list-repo