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

90 lines
1.4 KiB
Markdown
Raw Normal View History

2017-02-26 21:30:46 +00:00
+++
title = "Repository Management"
lastmod = "2017-07-22T16:28:23+03:00"
2017-02-26 21:30:46 +00: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:
``` bash
sudo eopkg add-repo Name Url
```
For example:
``` bash
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:
``` bash
sudo eopkg remove-repo Name
```
For example:
``` bash
sudo eopkg remove-repo Example
```
## Enabling a Repository
You can enable a repository for usage, by using:
``` bash
sudo eopkg enable-repo Name
```
For example:
``` bash
sudo eopkg enable-repo Example
```
## Disabling a Repository
You can disable a repository by using:
``` bash
sudo eopkg disable-repo Name
```
For example:
``` bash
sudo eopkg disable-repo Example
```
## Updating a Repository
You can update the index of a repository by using:
``` bash
sudo eopkg update-repo Name
```
For example:
``` bash
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:
``` bash
sudo eopkg list-repo
2017-02-19 12:44:42 +00:00
```