This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
help-center-docs/package-management/repo-management/en.md

1.4 KiB
Executable File

+++ title = "Repository Management" lastmod = "2017-07-22T16:28:23+03:00" +++

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.

Adding a Repository

You can add a repository by using:

sudo eopkg add-repo Name Url

For example:

sudo eopkg add-repo Example http://example.com/repo/eopkg-index.xml.gz

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 repository by not providing a name.

List repositories

You can list all the repositories added on your system by using:

sudo eopkg list-repo