> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/release/freebsd-14.3-release/14.3-installation.md).

# FreeBSD 14.3-RELEASE 安装说明

## 摘要

本文简要说明了 FreeBSD 14.3-RELEASE 的安装以及从早期版本升级的方法。

## 安装 FreeBSD

FreeBSD 手册中的 [安装 FreeBSD](https://docs.freebsd.org/en/books/handbook/bsdinstall/) 一章提供了关于安装程序本身的更深入信息，包括带截图的引导式操作说明。

## 升级 FreeBSD

如果从旧版 FreeBSD 升级，请仔细阅读 [发行说明](https://github.com/FreeBSD-Ask/FreeBSD-relnotes-CN/tree/main/relnotes/README.md) 中升级章节中关于重要不兼容性的内容。

## 从源代码升级

基于源代码的升级流程，请参阅 FreeBSD 手册中的 [从源代码更新 FreeBSD](https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld)。

使用 Git 时，请使用 releng/14.3 分支，后续的安全公告或勘误通知将应用到此分支。

## 使用“FreeBSD Update”升级

[freebsd-update(8)](https://man.freebsd.org/cgi/man.cgi?query=freebsd-update\&sektion=8\&format=html) 实用程序支持对运行早期 FreeBSD 发行版的 amd64、arm64 和 i386 系统进行二进制升级。运行 13.5-RELEASE 或 14.2-RELEASE 的系统可按如下方式升级：

```sh
# freebsd-update fetch
# freebsd-update install
```

现在 [freebsd-update(8)](https://man.freebsd.org/cgi/man.cgi?query=freebsd-update\&sektion=8\&format=html) 实用程序可以获取属于 14.3-RELEASE 的组件。在此过程中，[freebsd-update(8)](https://man.freebsd.org/cgi/man.cgi?query=freebsd-update\&sektion=8\&format=html) 会请求协助合并配置文件。

```sh
# freebsd-update upgrade -r 14.3-RELEASE
# freebsd-update install
```

在更新非内核组件之前，必须先使用新安装的内核重新启动系统。

```sh
# shutdown -r now
```

重新启动后，需要再次运行 [freebsd-update(8)](https://man.freebsd.org/cgi/man.cgi?query=freebsd-update\&sektion=8\&format=html) 来安装新的用户空间组件：

```sh
# freebsd-update install
```

此时，由于系统库的更新，从早期 FreeBSD 版本升级的系统会收到 [freebsd-update(8)](https://man.freebsd.org/cgi/man.cgi?query=freebsd-update\&sektion=8\&format=html) 提示，要求重新构建或重新安装所有第三方应用程序（例如，从 Ports 树安装的 Ports 或通过 [pkg(8)](https://man.freebsd.org/cgi/man.cgi?query=pkg\&sektion=8\&format=html) 安装的软件包）。

更新已安装的第三方应用程序后（仅当 [freebsd-update(8)](https://man.freebsd.org/cgi/man.cgi?query=freebsd-update\&sektion=8\&format=html) 输出表明需要执行此操作时才执行），再次运行 [freebsd-update(8)](https://man.freebsd.org/cgi/man.cgi?query=freebsd-update\&sektion=8\&format=html)，以便它删除旧的（不再使用的）系统库：

```sh
# freebsd-update install
```

最后，重新启动进入完整的 14.3-RELEASE 系统：

```sh
# shutdown -r now
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/release/freebsd-14.3-release/14.3-installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
