常见问题

关于此项目

到底是 Team Silverblue,还是 Silverblue,还是 Fedora Silverblue?

我们使用 Team Silverblue 指代整个项目,Fedora Silverblue 则是我们在产出的操作系统,但有时我们也简称它为 Silverblue。

为什么 Silverblue 的 Logo 是一片叶子?

我们本来想将项目命名为 Silverleaf,可惜这无法实现。我们不想就这样放弃叶子这个点子,毕竟 Silverblue 就是 OSTree 上的又一片新叶子。😀

Silverblue 是另一个 GNOME OS 吗?

GNOME OS 是上游 GNOME 用于测试桌面用户体验的项目。Silverblue 则是 Fedora 的项目,采用的也是 Fedora 已有的技术。当然,两个项目确实有一个共同的愿景,那就是提供一个完善且连贯的用户体验。

What is Fedora Silverblue’s relationship with Fedora Kinoite, Fedora IoT and Fedora CoreOS?

Fedora Silverblue uses the same core technology as Fedora Kinoite, Fedora IoT and Fedora CoreOS. However, Fedora Silverblue is specifically focused on workstation and desktop use cases with the GNOME desktop environment.

关于使用 Fedora Silverblue

如何在 Firefox 下播放各种视频,例如 YouTube 上的?

Firefox is included in the OS image for now (see issue#288 for progress on moving to Flatpak by default). Until that changes, getting it to play videos works the same way as it does for the regular Fedora Workstation: find a package with the needed codecs, and install it. The one difference is that you use rpm-ostree install instead of dnf install. An alternative solution is to install Firefox from Flathub.

如何创建一个 VPN 连接?

/etc 并不是不可变系统映像的一部分,所以你只需要将文件复制到 /etc/NetworkManager/system-connections(或者当你重新建立连接时要求 NetworkManager 帮你完成)。/etc/pki 下的相关操作也是一样的道理。

How can I install my preferred IDE on Fedora Silverblue?

You can install most IDE directly in a toolbox where you can also install all the developments tools from the Fedora repositories. To be able to launch them directly from menus, you can copy the .desktop file for the IDE from the toolbox to your home directory in ~/.local/share/applications/. You should then update the Exec line in the .desktop file to prepend toolbox run to start it from the toolbox. You can also use the IDEs packaged as Flatpaks from Flathub.

如何查看两个提交之间有什么软件包被升级了?

  • 如果你需要对比当前的部署与接下来的部署,只需要执行:

    $ rpm-ostree db diff
    你也可以通过添加 -c 参数查看 RPM 的变更日志:rpm-ostree db diff -c
  • 如果你需要查看两个特定提交之间哪些软件包被升级了:

    1. 找到你需要比较的两个提交:

      $ ostree log <ref>
    2. 接下来就可以进行对比了:

      $ rpm-ostree db diff <commit x> <commit y>

如何查看已安装软件包的版本号?

只需要执行:

$ rpm -q <package>

我怎样知道软件源里面是否有我需要的包?

目前 rpm-ostree 并没有内建 RPM 软件包搜索功能。然而你可以使用 toolbox 完成搜索:

$ toolbox run dnf search <package>
The assumption is that you have already created a toolbox matching the version of your Fedora Silverblue installation.

如何降级系统内核?

无论是因为什么原因,如果你希望降级内核:

  1. Koji 找到目标内核版本对应的 <kernel><kernel-core><kernel-modules> 以及 <kernel-modules-extra>

  2. 安装上一步中下载下来的软件包:

    $ rpm-ostree override replace <kernel> <kernel-core> <kernel-modules> <kernel-modules-extra>
  3. 重启系统使改动生效。

How can I upgrade my system to the next major version (for instance: rawhide or an upcoming Fedora release branch), while keeping my current deployment?

OSTree 允许你固定特定的部署(这样就能保留你选择的部署,避免被自动移除)。

  1. 不妨假设你希望保留你当前的部署:

    $ sudo ostree admin pin 0
    0 指代的是 rpm-ostree status 所列举的第一个部署
  2. 要想检查你固定了那些部署:

    $ rpm-ostree status
  3. After the deployment is pinned, you can upgrade your system by using the instructions found here.

  4. When you have completed rebasing, reboot the system. The GRUB menu will now present you with both: the previous deployment major version entry (e.g.: "Fedora 38.YYYYMMDD.n") and the new deployment major version entry (e.g.: "Fedora 39.YYYYMMDD.n").

    请注意目前还不支持为这些部署重新命名。