Merge pull request #29396 from geekpi/translating

translated
This commit is contained in:
geekpi 2023-05-17 08:54:22 +08:00 committed by GitHub
commit 1476afdbfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 129 additions and 129 deletions

View File

@ -1,129 +0,0 @@
[#]: subject: "How to Upgrade to Fedora 38 from Fedora 37 Workstation (GUI and CLI)"
[#]: via: "https://www.debugpoint.com/upgrade-fedora-38-from-fedora-37/"
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to Upgrade to Fedora 38 from Fedora 37 Workstation (GUI and CLI)
======
**Complete steps to upgrade to Fedora 38 from Fedora 37 workstation edition with GUI and CLI methods.**
Fedora 38 is now officially released as per planned without any delays. This release brings stunning GNOME 44 desktop for workstation editions, KDE Plasma 5.27 (the last plasma five series) and more. You can read my feature guide for Fedora 38 on [this page][1].
If youre trying to upgrade to Fedora 38 from Fedora 37, here are the recommended steps you should follow.
**Note**: If you are running Fedora 38 **beta** version, you do not need to follow the below steps to upgrade. You can run _**sudo dnf update && sudo dnf upgrade**_ from the terminal to get this version.
If you are running an older version of Fedora, such as 36 or 35, you **should not skip versions** to upgrade directly to 38. You can either do a step upgrade to 37 and then to 38; Or do a clean installation. In my experience, several apps and extensions break if you skip versions during upgrades, including Kernel-related problems.
### Upgrade to Fedora 38
Before you jump into the update, here are a few housekeeping you should do. In case you run into problems. Its always recommended.
#### Steps to Follow before upgrading to Fedora 38
Firstly, Open GNOME Software and check for any pending updates. Or, open a terminal and run the following command to ensure that your system is up-to-date.
```
sudo dnf update
```
After completing the above command, reboot your system to ensure all the updates are applied.
Secondly, take backups of your important documents such as pictures, docs or videos from your home directory to a safe place (perhaps a separate partition or USB stick). The Fedora upgrade process never fails, but I recommend you take backups if you use NVIDIA or any specific hardware with a dual boot system.
Third, install the [Extensions Flatpak application][2] and disable all the GNOME Extensions (for the GNOME desktop). The primary reason is not all the extensions are ported yet to GNOME 44. Hence it is safe to disable all of them before upgrading. And you can enable them later after you complete the upgrade process.
Moreover, look at the official forum for any [ongoing major][3]issues of Fedora 38 that may impact the upgrade process. Dont spend much time on this.
Finally, the upgrade process takes some time (in hours), so ensure you have sufficient time and a stable internet connection.
#### How to Upgrade to Fedora 38 Workstation
##### Graphical Method (GUI)
After the official release of Fedora 38, you should see a prompt in GNOME Software showing that an upgrade is available. If you do not see any prompt, dont worry. Wait for a day or two, and you should have it.
![Fedora 38 is available in Software][4]
Also, you can visit the Updates tab in GNOME Software and see if it is available.
Click on the notification and hit Download to start the upgrade process. The upgrader will download the required packages and prompt you to restart. Hit restart to continue the upgrade process.
Fedora will apply the upgrades during reboot.
##### Command-Line method (CLI)
If you are comfortable with the command line, you can use the `dnf upgrade` command to perform the upgrade process.
Open up the terminal and run the below command:
```
sudo dnf upgrade --refresh
```
This command will refresh the new upgrade streams packages to prepare for Fedora 38.
Next, install the dnf upgrade plugin by running the below command. This is required for the upgrade process.
```
sudo dnf install dnf-plugin-system-upgrade
```
Ensure your system is up-to-date by running the below command and installing any necessary pending updates. Do it once again (if you have done it via pre-upgrade steps)
```
sudo dnf --refresh upgrade
```
Initiate the download process by running the below command. This command will fetch all required packages and save them locally before upgrading.
```
sudo dnf system-upgrade download --releasever=38
```
If you installed many packages and applications manually and are unsure whether they are correctly supported by Fedora 38, run the above command with **allowerasing”** flag. When you provide this, dnf will remove the blocker packages for your system upgrade.
The above command displays what will be replaced, updated, upgraded, or downgraded. Carefully glance through the list if you want to review the list. Or, you can check the red-marked items and start the upgrade process like the below image.
![Fedora 38 Upgrade process 1][5]
![Fedora 38 Upgrade process 2][6]
Remember, the download size ideally is in GB, so that it might take some time based on your internet speed.
After the above command is complete, run the below command to start the upgrade.
```
sudo dnf system-upgrade reboot
```
The system will reboot automatically and wait until the entire upgrade process completes. As I mentioned earlier, this might take time in terms of hours, depending on your system hardware. Hence be patient.
If all goes well, you will be greeted with a brand new Fedora 38 system.
Good luck! 🤞
--------------------------------------------------------------------------------
via: https://www.debugpoint.com/upgrade-fedora-38-from-fedora-37/
作者:[Arindam][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.debugpoint.com/author/admin1/
[b]: https://github.com/lkxed/
[1]: https://www.debugpoint.com/fedora-38/
[2]: https://flathub.org/apps/details/org.gnome.Extensions
[3]: https://discussion.fedoraproject.org/tags/c/ask/common-issues/82/none/f38
[4]: https://www.debugpoint.com/wp-content/uploads/2023/04/Fedora-38-is-available-in-Software.jpg
[5]: https://www.debugpoint.com/wp-content/uploads/2023/04/Fedora-38-Upgrade-process-1.jpg
[6]: https://www.debugpoint.com/wp-content/uploads/2023/04/Fedora-38-Upgrade-process-2.jpg

View File

@ -0,0 +1,129 @@
[#]: subject: "How to Upgrade to Fedora 38 from Fedora 37 Workstation (GUI and CLI)"
[#]: via: "https://www.debugpoint.com/upgrade-fedora-38-from-fedora-37/"
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
如何从 Fedora 37 工作站升级到 Fedora 38GUI 和 CLI
======
**使用 GUI 和 CLI 方法从 Fedora 37 工作站版升级到 Fedora 38 的完整步骤。**
Fedora 38 现已按计划正式发布,没有任何延误。此版本带来了令人惊叹的 GNOME 44 工作站版桌面、KDE Plasma 5.27(最后一个 Plasma 5 系列)等。你可以在[此页面][1]上阅读我的 Fedora 38 功能指南。
如果你尝试从 Fedora 37 升级到 Fedora 38请遵循以下推荐步骤。
**注意**:如果你运行的是 Fedora 38 **beta** 版本,则无需按照以下步骤进行升级。你可以从终端运行 _**sudo dnf update && sudo dnf upgrade**_ 以获取此版本。
如果你运行的是旧版本的 Fedora例如 36 或 35你**不应该跳版本**直接升级到 38。你可以先升级到 37然后再升级到 38 或者进行全新安装。根据我的经验,如果你在升级期间跳过版本,一些应用和扩展程序会崩溃,还包括内核相关问题。
### 升级到 Fedora 38
在你进入更新之前,这里有一些你应该做的事情。以防你遇到问题。我们总是建议这么做。
#### 升级到 Fedora 38 之前要遵循的步骤
首先,打开 GNOME 软件并检查是否有任何待处理的更新。或者,打开终端并运行以下命令以确保你的系统是最新的。
```
sudo dnf update
```
完成上述命令后,重新启动系统以确保应用所有更新。
其次,将你的重要文件(例如图片、文档或视频)从主目录备份到安全的地方(可能是单独的分区或 U 盘。Fedora 升级过程不会失败,但如果你使用 NVIDIA 或任何具有双引导系统的特定硬件,我建议你进行备份。
第三,安装 [Extensions Flatpak 应用][2]并禁用所有 GNOME 扩展(用于 GNOME 桌面)。主要原因是并非所有扩展都已移植到 GNOME 44。因此在升级之前禁用所有扩展是安全的。你可以稍后在完成升级过程后启用它们。
此外,看看官方论坛,看看 Fedora 38 的任何[存在的主要][3]可能影响升级过程的问题。不要在这上面花太多时间。
最后,升级过程需要一些时间(以小时为单位),因此请确保你有足够的时间和稳定的互联网连接。
#### 如何升级到 Fedora 38 工作站
##### 图形化方法GUI
在 Fedora 38 正式发布后,你应该会在 GNOME 软件中看到有升级可用的提示。如果你没有看到任何提示,请不要担心。等一两天,你应该就可以了。
![Fedora 38 is available in Software][4]
此外,你可以访问 GNOME 软件中的更新选项卡,看看它是否可用。
单击通知并单击下载以开始升级过程。升级程序将下载所需的软件包并提示你重新启动。点击重新启动以继续升级过程。
Fedora 将在重启期间应用升级。
##### 命令行方法 (CLI)
如果你熟悉命令行,则可以使用 `dnf upgrade` 命令来执行升级过程。
打开终端并运行以下命令:
```
sudo dnf upgrade --refresh
```
此命令将刷新为 Fedora 38 准备的新升级软件包。
接下来,通过运行以下命令安装 dnf 升级插件。这是升级过程所必需的。
```
sudo dnf install dnf-plugin-system-upgrade
```
通过运行以下命令并安装任何必要的待定更新来确保你的系统是最新的。再做一次(如果你已经通过升级前的步骤完成了)
```
sudo dnf --refresh upgrade
```
通过运行以下命令启动下载过程。此命令将获取所有必需的包并在升级前将它们保存在本地。
```
sudo dnf system-upgrade download --releasever=38
```
如果你手动安装了许多软件包和应用并且不确定 Fedora 38 是否正确支持它们,请使用 **allowerasing”** 标志运行上述命令。当你提供此选项时dnf 将删除阻止系统升级的软件包。
上面的命令显示将被替换、更新、升级或降级的内容。如果你想查看列表,请仔细浏览列表。或者,你可以检查红色标记的项目并开始升级过程,如下图所示。
![Fedora 38 升级流程 1][5]
![Fedora 38 升级流程 2][6]
请记住,下载大小一般以 GB 为单位,因此根据你的网速可能需要一些时间。
上述命令完成后,运行以下命令开始升级。
```
sudo dnf system-upgrade reboot
```
系统将自动重启,并等待整个升级过程的完成。正如我前面提到的,这可能需要几个小时的时间,这取决于你的系统硬件。因此要有耐心。
如果一切顺利,迎接你的将是一个全新的 Fedora 38系 统。
好运!
--------------------------------------------------------------------------------
via: https://www.debugpoint.com/upgrade-fedora-38-from-fedora-37/
作者:[Arindam][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.debugpoint.com/author/admin1/
[b]: https://github.com/lkxed/
[1]: https://www.debugpoint.com/fedora-38/
[2]: https://flathub.org/apps/details/org.gnome.Extensions
[3]: https://discussion.fedoraproject.org/tags/c/ask/common-issues/82/none/f38
[4]: https://www.debugpoint.com/wp-content/uploads/2023/04/Fedora-38-is-available-in-Software.jpg
[5]: https://www.debugpoint.com/wp-content/uploads/2023/04/Fedora-38-Upgrade-process-1.jpg
[6]: https://www.debugpoint.com/wp-content/uploads/2023/04/Fedora-38-Upgrade-process-2.jpg