> For the complete documentation index, see [llms.txt](https://notes.ronething.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.ronething.cn/add-font-on-ubuntu.md).

# Ubuntu 系统安装和配置字体教程

1、download font

2、在 `/usr/share/fonts` 目录下新建一个 `custom` 目录，并 `chmod 755 custom`

3、把下载好的字体文件解压，把所有的字体文件 `XX.ttf` 复制到上一步创建的`custom`目录中

4、执行 `sudo fc-cache -f -v`


---

# 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:

```
GET https://notes.ronething.cn/add-font-on-ubuntu.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.
