# 26.1.概述

FreeBSD 在各个版本之间持续开发。有些人喜欢使用官方发布的版本，而另一些人则更喜欢保持与最新开发版本同步。然而，即使是官方发布的版本，也经常会更新以修复安全漏洞和其他关键问题。无论使用何种版本，FreeBSD 都提供了所有必要的工具来保持系统的最新状态，并允许在版本之间轻松升级。本章介绍了如何跟踪开发系统以及保持 FreeBSD 系统更新的基本工具。

阅读本章后，你将了解：

* 如何使用 `freebsd-update` 或 Git 保持 FreeBSD 系统更新。
* 如何将已安装的系统状态与已知的原始副本进行比较。
* 如何使用 Git 或文档 Port 保持已安装文档的更新。
* 两个开发分支的区别：FreeBSD-STABLE 和 FreeBSD-CURRENT。
* 如何重新构建和重新安装整个基本系统。

在阅读本章之前，你应当：

* 正确设置网络连接（[高级网络配置](https://docs.freebsd.org/en/books/handbook/advanced-networking/#advanced-networking)）。
* 了解如何安装额外的第三方软件（[安装应用程序：软件包和 Ports](https://docs.freebsd.org/en/books/handbook/ports/#ports)）。

> **注意**
>
> 在本章中，`git` 被用于获取和更新 FreeBSD 源代码。可选地，可以使用 Port 或软件包 [devel/git](https://cgit.freebsd.org/ports/tree/devel/git/) 。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://book.bsdcn.org/hanbook/di-26-zhang-freebsd-geng-xin-yu-sheng-ji/26.1.-gai-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
