mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-12-15 07:53:07 -05:00
update from upstream
This commit is contained in:
commit
7eaecbd560
8 changed files with 128 additions and 257 deletions
|
|
@ -12,19 +12,18 @@ title: Debian templates
|
|||
---
|
||||
|
||||
The Debian [template](/doc/templates/) is an officially [supported](/doc/supported-releases/#templates) template in Qubes OS.
|
||||
This page is about the standard (or "full") Debian template.
|
||||
The Current version is Debian 12 ("bookworm"). It is available in 3 versions - `debian-12`, a standard template; `debian-12-xfce`, a larger template with more installed applications, selected for [Xfce](/doc/templates/xfce/); `debian-12-minimal`.
|
||||
This page is about the "full" templates.
|
||||
For the minimal version, please see the [Minimal templates](/doc/templates/minimal/) page.
|
||||
There is also a [Qubes page on the Debian Wiki](https://wiki.debian.org/Qubes).
|
||||
|
||||
## Installing
|
||||
|
||||
To [install](/doc/templates/#installing) a specific Debian template that is not currently installed in your system, use the following command in dom0:
|
||||
To [install](/doc/templates/#installing) a specific Debian template that is not currently installed in your system, use the Qubes Template Manager, or use the following command in a dom0 terminal:
|
||||
|
||||
```
|
||||
$ sudo qubes-dom0-update qubes-template-debian-XX
|
||||
$ qvm-template install XX
|
||||
```
|
||||
|
||||
(Replace `XX` with the Debian version number of the template you wish to install.)
|
||||
(Replace `XX` with the name of the template you wish to install.)
|
||||
|
||||
To reinstall a Debian template that is already installed in your system, see [How to Reinstall a template](/doc/reinstall-template/).
|
||||
|
||||
|
|
@ -100,10 +99,8 @@ Don't forget to make the file executable.
|
|||
|
||||
### Unattended Upgrades
|
||||
|
||||
Some users have noticed that on upgrading to Stretch, the `unattended-upgrade` package is installed.
|
||||
|
||||
Some users have noticed that on upgrading Debian templates, the `unattended-upgrade` package is installed.
|
||||
This package is pulled in as part of a Recommend chain, and can be purged.
|
||||
|
||||
The lesson is that you should carefully look at what is being installed to your system, particularly if you run `dist-upgrade`.
|
||||
|
||||
### Package installation errors in Qubes 4.0
|
||||
|
|
|
|||
|
|
@ -6,17 +6,15 @@ ref: 136
|
|||
title: Fedora templates
|
||||
---
|
||||
|
||||
The Fedora [template](/doc/templates/) is the default template in Qubes OS. This page is about the standard (or "full") Fedora template. For the minimal and Xfce versions, please see the [Minimal templates](/doc/templates/minimal/) and [Xfce templates](/doc/templates/xfce/) pages.
|
||||
The Fedora [template](/doc/templates/) is the default template in Qubes OS. The current version is Fedora 41. This page is about the standard (or "full") Fedora template. For the minimal and Xfce versions, please see the [Minimal templates](/doc/templates/minimal/) and [Xfce templates](/doc/templates/xfce/) pages.
|
||||
|
||||
## Installing
|
||||
|
||||
To [install](/doc/templates/#installing) a specific Fedora template that is not currently installed in your system, use the following command in dom0:
|
||||
|
||||
To [install](/doc/templates/#installing) a specific Fedora template that is not currently installed in your system, use the Qubes Template Manager, or use the following command in a dom0 terminal:
|
||||
```
|
||||
$ sudo qubes-dom0-update qubes-template-fedora-XX
|
||||
$ qvm-template install XX
|
||||
```
|
||||
|
||||
(Replace `XX` with the Fedora version number of the template you wish to install.)
|
||||
(Replace `XX` with the name of the Fedora template you wish to install.)
|
||||
|
||||
To reinstall a Fedora template that is already installed in your system, see [How to Reinstall a template](/doc/reinstall-template/).
|
||||
|
||||
|
|
|
|||
|
|
@ -13,10 +13,15 @@ title: Templates
|
|||
|
||||
In [Getting Started](/doc/getting-started/), we covered the distinction
|
||||
in Qubes OS between where you *install* your software and where you *run* your
|
||||
software. Your software is installed in [templates](/doc/glossary/#template).
|
||||
Each template shares its root filesystem (i.e., all of its programs and system
|
||||
files) with all the qubes based on it. [App qubes](/doc/glossary/#app-qube) are
|
||||
where you run your software and store your data.
|
||||
software. Software that you use in most everyday tasks, is installed within [templates](/doc/glossary/#template).
|
||||
When using Qubes OS, you normally work in [app qubes](/doc/glossary/#app-qube).
|
||||
App qubes are based on a *template* qube (or more simply, just *a template*).
|
||||
They inherit most of the ["root filesystem"](https://opensource.com/life/16/10/introduction-linux-filesystems), from the template.
|
||||
Changes you make to the root filesystem are not written back to the template: if you install an application in an app qube it will disappear when you shut down the qube. (You may be able to work round this by using Flatpak or snap packages, which install to the user's home directory.)
|
||||
The user home directory *is* specific to the app qube, and changes there are kept.
|
||||
There is a full explanation of this [below](#inheritance-and-persistence).
|
||||
|
||||
If you use a [Standalone](/doc/glossary/#standalone), the **whole filesystem** is specific to the standalone, and every change you make will be kept after shutdown.
|
||||
|
||||
The template system has significant benefits:
|
||||
|
||||
|
|
@ -37,7 +42,7 @@ The template system has significant benefits:
|
|||
|
||||
An important side effect of this system is that any software installed in an
|
||||
app qube (rather than in the template on which it is based) will disappear
|
||||
after the app qube reboots (see [Inheritance and
|
||||
when the app qube shuts down (see [Inheritance and
|
||||
Persistence](#inheritance-and-persistence)). For this reason, we recommend
|
||||
installing most of your software in templates, not app qubes.
|
||||
|
||||
|
|
@ -61,6 +66,9 @@ exactly the same source code as we publish.
|
|||
* [Fedora Xfce](/doc/templates/xfce)
|
||||
* [Debian](/doc/templates/debian/)
|
||||
* [Debian Minimal](/doc/templates/minimal/)
|
||||
* [Debian Xfce](/doc/templates/xfce)
|
||||
|
||||
You can see the current supported versions [here](/doc/supported-releases#templates).
|
||||
|
||||
## Community
|
||||
|
||||
|
|
@ -109,17 +117,17 @@ when you wish to install a fresh template from the Qubes repositories, e.g.:
|
|||
* When you suspect your template has been compromised.
|
||||
* When you have made modifications to your template that you no longer want.
|
||||
|
||||
You can use a command line tool - `qvm-template` - or a GUI - `qvm-template-gui`.
|
||||
You can manage your templates using the `Qubes Template Manager`, a GUI tool available from the Qube menu.
|
||||
You can also use a command line tool in dom0 - `qvm-template`.
|
||||
|
||||
At the command line in dom0, `qvm-template list --available` will show available templates. To install a template, use:
|
||||
|
||||
```
|
||||
$ qvm-template install <template_name>
|
||||
```
|
||||
|
||||
You can also use `qvm-template` to upgrade or reinstall templates.
|
||||
|
||||
Repo definitions are stored in `/etc/qubes/repo-templates` and associated keys in `/etc/qubes/repo-templates/keys`.
|
||||
Repository (repo) definitions are stored in dom0 in `/etc/qubes/repo-templates` and associated keys in `/etc/qubes/repo-templates/keys`.
|
||||
There are additional repos for testing releases and community templates.
|
||||
To temporarily enable any of these repos, use the `--enablerepo=<repo-name>` option. E.g. :
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue