Improve instructions for installing contributed packages

Related issues:
QubesOS/qubes-issues#953
QubesOS/qubes-issues#6124
This commit is contained in:
Andrew David Wong 2020-10-19 11:44:15 -07:00
parent e87bb670ee
commit 510bbfe73a
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17

View File

@ -13,6 +13,8 @@ If you want to contribute a package, please see [package contributions]._
Qubes OS contributed packages are available under the [QubesOS-contrib] GitHub Project. Qubes OS contributed packages are available under the [QubesOS-contrib] GitHub Project.
This is a place where our community can [contribute Qubes OS related packages, additions and various customizations][package contributions]. This is a place where our community can [contribute Qubes OS related packages, additions and various customizations][package contributions].
## Installing the repositories
If you want to install one of these packages, first you need to enable the repository in your system (dom0 and/or templates). This can be done by installing the `qubes-repo-contrib` package. This package includes the repository definition and keys necessary to download, verify, and install [QubesOS-contrib] packages. If you want to install one of these packages, first you need to enable the repository in your system (dom0 and/or templates). This can be done by installing the `qubes-repo-contrib` package. This package includes the repository definition and keys necessary to download, verify, and install [QubesOS-contrib] packages.
In dom0, use `qubes-dom0-update`: In dom0, use `qubes-dom0-update`:
@ -27,6 +29,12 @@ In a Debian-based template, use `apt`:
sudo apt update && sudo apt install qubes-repo-contrib sudo apt update && sudo apt install qubes-repo-contrib
## Installing packages
After you've installed the repositories, you can install contributed packages.
For example, to install `qvm-screenshot-tool` in dom0:
sudo qubes-dom0-update --clean qvm-screenshot-tool
[package contributions]: /doc/package-contributions/ [package contributions]: /doc/package-contributions/
[QubesOS-contrib]: https://github.com/QubesOS-contrib/ [QubesOS-contrib]: https://github.com/QubesOS-contrib/