Skip to content

Commit c612cbc

Browse files
authored
Add note for tldr package deprecation in Debian 13 (#87)
1 parent fe2868e commit c612cbc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/Ch03/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,12 @@ $ # 更新 tldr pages
997997
$ tldr --update
998998
```
999999

1000+
!!! tip "Debian 13 中关于 tldr 包更新的说明"
1001+
1002+
需要指出的是,在 Debian 13 (Trixie) 发行版中,原有的 `tldr` 包(使用 Haskell 实现)已经被移除。[^3]取而代之的是 `tldr-py` 包(使用 Python 实现)和 `tealdeer` 包(使用 Rust 实现),它们仍然提供 `tldr` 命令,因此使用方式不变。
1003+
1004+
考虑到 Linux 101 是基于 Ubuntu LTS 的,我们目前在正文中保留原有的安装命令。读者可以使用 `apt search tldr` 来查询自己版本所支持的相关包,具体用法参见前文。
1005+
10001006
#### 使用 {#use-tldr}
10011007

10021008
直接输入 `tldr 命令名` 即可。由于是由社区维护的,一些自行安装的软件可能不会有精简过的文档。
@@ -1097,3 +1103,4 @@ https://www.gnu.org/software/tar
10971103

10981104
[^1]: [软件仓库](http://people.ubuntu.com/~happyaron/udc-cn/lucid-html/ch06s09.html)
10991105
[^2]: [Ubuntu 源使用帮助](https://mirrors.ustc.edu.cn/help/ubuntu.html)
1106+
[^3]: [Debian 13 发布说明:已废弃软件包](https://www.debian.org/releases/trixie/release-notes/issues.zh_CN.html#noteworthy-obsolete-packages)

0 commit comments

Comments
 (0)