aboutsummaryrefslogtreecommitdiff
path: root/docs/distros/rhel/fedora.md
blob: 2a5e06b19fd9450e9e0fe979e5383ed8f82988da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Fedora

![Logo](https://fedoraproject.org/assets/images/logos/fedora-logo-official.svg){width=300}

## 简介

Fedora是一款前沿、开放的发行版,有着广泛的社区支持,并且提供多种变体可供选择。

???+ quote "名人名言"
    They've been very closely aligned to kernel developers. They make things easier.
    
    *他们和内核开发者的关系很紧密,很多事做起来更顺。*

    <p align="right">——Linus Torvalds</p>

    ??? quote "玩笑"

        Linus: When I'm emperor and king of the world...
        
        Elijah: It will be Fedora?

        Linus: That will be.

        *Linus: 等我当了世界皇帝的时候...*

        *Elijah: 就只许用Fedora了?*

        *Linus: 就只许用它了。*

## 详细信息

 - 派系:红帽系
 - 发行者:Fedora 团队
 - 官网:https://fedoraproject.org/zh-Hans/
 - 支持的系统架构:x86_64/arm64
 - 自由软件:是(部分自由)
 - 镜像下载地址:
    - TUNA: https://mirrors.tuna.tsinghua.edu.cn/fedora/releases/
    - USTC: https://mirrors.ustc.edu.cn/fedora/releases/
    - MirrorZ: https://mirrors.cernet.edu.cn/fedora/releases/
 - 包管理器:[dnf](../../applications/apps.md#dnf)
 - 更新方式:传统/OSTree
 - 自动换源:302
 - 图形安装界面:是
 - 换源教程:
    - TUNA: https://mirrors.tuna.tsinghua.edu.cn/help/fedora/
    - USTC: https://mirrors.ustc.edu.cn/help/fedora.html
    - MirrorZ: https://help.mirrors.cernet.edu.cn/fedora/

## 风味

### Editions

 - Fedora Workstation: 预装GNOME桌面
 - Fedora KDE Plasma Desktop: 预装KDE桌面
 - Fedora Server: 服务器版本
 - Fedora Cloud: 云虚拟机版本
 - Fedora IoT: 嵌入式设备版本
 - Fedora CoreOS: 容器用不可变版本

### Atomic Desktops (原子系统)

 - Fedora Silverblue: 预装GNOME桌面,不可变系统
 - Fedora Kinoite: 预装KDE桌面,不可变系统
 - Fedora Sway Atomic: 预装Sway桌面,不可变系统
 - Fedora Budgie Atomic: 预装Budgie桌面,不可变系统
 - Fedora COSMIC Atomic: 预装COSMIC桌面,不可变系统

### Spins(预装不同桌面的变体)

 - Xfce Desktop
 - Cinnamon Desktop
 - MATE+Compiz Desktop
 - i3 Tiling WM
 - LXQt Desktop
 - LXDE Desktop
 - SOAS Desktop
 - Sway Tiling WM
 - Budgie Desktop
 - Miracle Desktop
 - KDE Mobile Desktop
 - COSMIC Desktop

### Labs(行业特供)

 - Astronomy: 天文
 - Design Suite: 设计
 - Games: 游戏
 - Jam: 音乐
 - Python Classroom: 教育
 - Scientific: 科学
 - Security Lab: 安全

## 注意事项

### Rpm Fusion

Fedora由于版权限制,无法内置H264/H265编解码器,因此需要手动添加源来安装。

???+ info "镜像源帮助"
     - TUNA: https://mirrors.tuna.tsinghua.edu.cn/help/rpmfusion/
     - USTC: https://mirrors.ustc.edu.cn/help/rpmfusion.html
     - MirrorZ: https://help.mirrors.cernet.edu.cn/rpmfusion/

在添加源后,请在终端运行`sudo dnf group install multimedia`来安装编解码器。

### Fedora Flatpak仓库

若您发现自己的KDE Discover、GNOME 应用 一直在转圈加载,又或是安装Flatpak时一直在查找匹配项,那么可能是Fedora的官方Flatpak源在拖后腿。

要解决这个问题,您可以在终端中运行如下指令:`sudo flatpak remote-delete fedora`。

!!! warning "针对不可变发行版"
     Fedora的不可变版本中,有部分系统应用的来源为Fedora官方Flatpak仓库。所以,我们建议您在提示移除源会删除软件时,记录好将要删除软件的包名。在删除后,您可以通过官方Flathub仓库重新安装。

     部分包名带有`fedora`字样的软件包提示未找到是正常现象。

### 多余内核

Fedora的dnf不会自动删除多余的内核,因而需要通过修改`/etc/dnf/dnf.conf`来实现。

```bash
sudo nano /etc/dnf/dnf.conf
```

在`[main]`下方追加`installonly_limit=2`即可。之后,您可以运行`sudo dnf autoremove`来移除多余内核。