mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 12:05:35 +03:00
move Chinese pages from pages.cn to pages.zh
Also add new Chinese translations for apt, aptitude and arch.
This commit is contained in:
parent
cbe477bf50
commit
11f109b466
27
pages.zh/linux/apt.md
Normal file
27
pages.zh/linux/apt.md
Normal file
@ -0,0 +1,27 @@
|
||||
# apt
|
||||
|
||||
> 基于Debian的发行版上的软件包管理工具.
|
||||
|
||||
- 更新可用软件包及其版本列表(推荐在运行其他apt命令前首先运行该命令):
|
||||
|
||||
`sudo apt update`
|
||||
|
||||
- 查找指定软件包:
|
||||
|
||||
`apt search {{软件包}}`
|
||||
|
||||
- 显示关于指定软件包的信息:
|
||||
|
||||
`apt show {{软件包}}`
|
||||
|
||||
- 安装指定软件包或将指定软件包更新到最新版本:
|
||||
|
||||
`sudo apt install {{软件包}}`
|
||||
|
||||
- 移除指定软件包(使用`purge`可以同时移除其配置文件):
|
||||
|
||||
`sudo apt remove {{软件包}}`
|
||||
|
||||
- 将所有已安装软件包更新到最新可用版本:
|
||||
|
||||
`sudo apt upgrade`
|
27
pages.zh/linux/aptitude.md
Normal file
27
pages.zh/linux/aptitude.md
Normal file
@ -0,0 +1,27 @@
|
||||
# aptitude
|
||||
|
||||
> Debian和Ubuntu上的软件包管理工具.
|
||||
|
||||
- 同步可用软件包及其版本列表,在运行后续aptitude命令前,应该首先运行该命令:
|
||||
|
||||
`aptitude update`
|
||||
|
||||
- 安装一个新的软件包及其依赖项:
|
||||
|
||||
`aptitude install {{软件包}}`
|
||||
|
||||
- 查找软件包:
|
||||
|
||||
`aptitude search {{软件包}}`
|
||||
|
||||
- 移除一个软件包并移除所有依赖它的软件包:
|
||||
|
||||
`aptitude remove {{软件包}}`
|
||||
|
||||
- 更新已安装软件包到最新版本:
|
||||
|
||||
`aptitude upgrade`
|
||||
|
||||
- 更新已安装的软件包(类似于`aptitude upgrade`),移除过时的软件包并安装额外的软件包以满足新的软件包依赖项:
|
||||
|
||||
`aptitude full-upgrade`
|
8
pages.zh/linux/arch.md
Normal file
8
pages.zh/linux/arch.md
Normal file
@ -0,0 +1,8 @@
|
||||
# arch
|
||||
|
||||
> 显示当前系统架构名称.
|
||||
> 参阅`uname`.
|
||||
|
||||
- 显示当前系统架构名称:
|
||||
|
||||
`arch`
|
Loading…
Reference in New Issue
Block a user