2020-10-19 14:39:51 -04:00
---
2021-03-13 13:06:18 -05:00
lang: en
2020-10-19 14:39:51 -04:00
layout: doc
permalink: /doc/installing-contributed-packages/
2021-03-13 13:06:18 -05:00
ref: 225
2021-03-13 12:42:50 -05:00
title: Installing contributed packages
2020-10-19 14:39:51 -04:00
---
# Installing contributed packages
_This page is for users who wish to install contributed packages.
2021-04-10 18:09:05 -04:00
If you want to contribute a package, please see [package contributions ](/doc/package-contributions/ )._
2020-10-19 14:39:51 -04:00
2021-04-10 18:09:05 -04:00
Qubes OS contributed packages are available under the [QubesOS-contrib ](https://github.com/QubesOS-contrib/ ) GitHub Project.
This is a place where our community can [contribute Qubes OS related packages, additions and various customizations ](/doc/package-contributions/ ).
2020-10-19 14:39:51 -04:00
2020-10-19 14:44:15 -04:00
## Installing the repositories
2021-04-10 18:09:05 -04:00
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 ](https://github.com/QubesOS-contrib/ ) packages.
2020-10-19 14:39:51 -04:00
In dom0, use `qubes-dom0-update` :
2021-03-13 12:03:23 -05:00
```bash_session
sudo qubes-dom0-update qubes-repo-contrib
```
2020-10-19 14:39:51 -04:00
In a Fedora-based template, use `dnf` :
2021-03-13 12:03:23 -05:00
```bash_session
sudo dnf install qubes-repo-contrib
```
2020-10-19 14:39:51 -04:00
In a Debian-based template, use `apt` :
2021-03-13 12:03:23 -05:00
```bash_session
sudo apt update & & sudo apt install qubes-repo-contrib
```
2020-10-19 14:39:51 -04:00
2020-10-19 15:05:34 -04:00
The new repository definition will be in the usual location for your distro, and it will follow the naming pattern `qubes-contrib-*` , depending on your Qubes release and whether it is in dom0 or a TemplateVM.
For example, in a Fedora TemplateVM on Qubes 4.0, the new repository definition would be:
2021-03-13 12:03:23 -05:00
```
/etc/yum.repos.d/qubes-contrib-vm-r4.0.repo
```
2020-10-19 15:05:34 -04:00
2020-10-19 14:44:15 -04:00
## Installing packages
After you've installed the repositories, you can install contributed packages.
2020-10-19 15:05:34 -04:00
**Note:** The first time you install a contrib package in dom0, you must use the `--clean` flag.
2020-10-19 14:44:15 -04:00
For example, to install `qvm-screenshot-tool` in dom0:
2021-03-13 12:03:23 -05:00
```bash_session
sudo qubes-dom0-update --clean qvm-screenshot-tool
```
2020-10-19 14:39:51 -04:00
2020-10-19 15:05:34 -04:00
Please see the package's README for specific installation and setup instructions.