# 8.5.桌面办公应用

在提高生产力方面，用户通常会寻找一款办公套件或易于使用的文字处理软件。虽然一些桌面环境，如 [KDE Plasma](https://docs.freebsd.org/en/books/handbook/desktop/#kde-environment)，提供了办公套件，但并没有默认的生产力软件包。无论安装了哪种桌面环境，FreeBSD 上都有多个办公套件和图形化文字处理软件可供选择。

本节介绍了如何安装以下流行的生产力软件，并指出这些应用是否资源占用较高、从 Port 编译时是否需要较长时间，或是否有任何重大依赖。

**表 4. 支持的桌面办公生产力套件**

| 名称             | 许可证         | 包含的包                                                                            | 所需资源 |
| -------------- | ----------- | ------------------------------------------------------------------------------- | ---- |
| LibreOffice    | MPL 2.0     | [editors/libreoffice](https://cgit.freebsd.org/ports/tree/editors/libreoffice/) | 重    |
| Calligra Suite | LGPL 和 GPL  | [editors/calligra](https://cgit.freebsd.org/ports/tree/editors/calligra/)       | 中    |
| AbiWord        | GPL 2.0 或更高 | [editors/abiword](https://cgit.freebsd.org/ports/tree/editors/abiword/)         | 中    |

## 8.5.1. LibreOffice

LibreOffice 是由 [The Document Foundation](http://www.documentfoundation.org/) 开发的免费软件办公套件。它与其他主要的办公套件兼容，并可在多种平台上使用。LibreOffice 是 Apache OpenOffice 的一个重命名分支，包含了一个完整办公生产力套件中的应用程序：文字处理器、电子表格、演示管理器、绘图程序、数据库管理程序以及一个用于创建和编辑数学公式的工具。它提供多种语言版本，并且国际化已扩展到界面、拼写检查器和字典等方面。有关 LibreOffice 的更多信息，请访问 [libreoffice.org](http://www.libreoffice.org/)。

安装 LibreOffice，执行：

```sh
# pkg install libreoffice
```

LibreOffice 包默认只包含英文版本。如果需要本地化版本的 LibreOffice，必须安装语言包。例如，安装西班牙语本地化版本，需要使用以下命令安装 [editors/libreoffice-es](https://cgit.freebsd.org/ports/tree/editors/libreoffice-es/) 包：

```sh
# pkg install libreoffice-es
```

## 8.5.2. Calligra

KDE Plasma 桌面环境包含一个可以与 KDE Plasma 单独安装的办公套件。Calligra 包含其他办公套件中的标准组件。Words 是文字处理器，Sheets 是电子表格程序，Stage 用于管理幻灯片演示，Karbon 用于绘制图形文档。

安装 Calligra，执行：

```sh
# pkg install calligra
```

## 8.5.3. AbiWord

AbiWord 是一款免费的文字处理程序，外观和操作方式类似于 Microsoft® Word。它运行速度快，功能丰富，并且用户友好。

AbiWord 可以导入或导出多种文件格式，包括一些专有格式，如 Microsoft® .rtf。

安装 AbiWord，执行：

```sh
# pkg install abiword
```


---

# 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-8-zhang-zhuo-mian-huan-jing/8.5.-zhuo-mian-sheng-chan-li-gong-ju.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.
