ການຮັກສາຄວາມປອດໄພຂອງລະບົບໂດຍການເຮັດໃຫ້ມັນທັນສະໄໝຢູ່ສະເໝີ

Petr Bokoc, Mirek Jahoda, Gregory Lee Bartholomew Version unspecified Last review: 2023-12-23

ເປັນຫຍັງການອັບເດດລະບົບຂອງທ່ານໃຫ້ທັນສະໄໝຢູ່ສະເໝີຈຶ່ງມີຄວາມສຳຄັນ

ສ່ວນນີ້ຈະອະທິບາຍສັ້ນໆກ່ຽວກັບຄວາມສຳຄັນຂອງການອັບເດດລະບົບຂອງທ່ານເປັນປະຈຳ.

All software contains bugs. Often, these bugs can result in a vulnerability that can expose your system to malicious users. Packages that have not been updated are a common cause of computer intrusions. Install security patches promptly to end discovered vulnerabilities quickly, so attackers cannot exploit them.

ການອັບເດດດ້ວຍຕົນເອງໂດຍການໃຊ້ GUI

The following steps describe how to manually download and install new updates by using GUI.

ຂັ້ນຕອນການດຳເນີນການ

  1. Hover the cursor over the upper-left corner of the screen and type "Software" and select the Software application to open it.

  2. ຄລິກທີ່ປຸ່ມ Updates ເພື່ອເບິ່ງການອັບເດດທີ່ມີ.

  3. ຄລິກທີ່ປຸ່ມ Download ເພື່ອດາວໂຫຼດການອັບເດດໃໝ່.

  4. After the updates are downloaded click the Restart & Update button. Your system will restart to perform the upgrade.

ການອັບເດດໂດຍການໃຊ້ແອັບພລິເຄຊັນ Software

ການອັບເດດດ້ວຍຕົນເອງໂດຍການໃຊ້ CLI

The following steps describe how to manually download and install new updates by using the DNF package manager.

Fedora recommends applying updates offline: packages are downloaded while the system is running normally, then applied during a reboot. This avoids conflicts caused by updating libraries or services that are actively in use.

ຂັ້ນຕອນການດຳເນີນການ

  1. Download available updates:

    $ sudo dnf offline-upgrade download

    ຢືນຢັນເພື່ອດາວໂຫຼດແພັກເກດທີ່ມີຢູ່.

  2. Reboot to apply the updates:

    $ sudo dnf offline-upgrade reboot

    The system reboots, applies the downloaded updates, then starts normally.

  3. Optionally, use the rpmconf command to merge any configuration file changes introduced by the package updates:

    $ sudo rpmconf -a

    To use the advanced merge option, set the MERGE environment variable to an editor capable of performing that function (e.g., export MERGE="vimdiff"). See the man page for details.

    If you install the rpmconf DNF plugin, rpmconf runs automatically at the end of each upgrade:

    $ sudo dnf install python3-dnf-plugin-rpmconf

ຊັບພະຍາກອນເພີ່ມເຕີມ

  • ໜ້າຄູ່ມື (manual page) ຂອງ dnf(8)

  • The dnf-offline-upgrade(8) manual page

  • ໜ້າຄູ່ມື (manual page) ຂອງ rpmconf(8)

ການຕັ້ງຄ່າການອັບເດດແບບອັດຕະໂນມັດ

The dnf-automatic package provides a systemd timer that can automatically download, install, or alert you about available updates. Whether the timer downloads only, installs, or just notifies the options in the /etc/dnf/automatic.conf configuration file.

For full setup instructions, see Automatic Updates.