Update apt-get.md

完善。
This commit is contained in:
Lnkstls 2020-09-05 13:23:15 +08:00 committed by 小弟调调™
parent 36d7ae1c1b
commit e336d40e8a
1 changed files with 12 additions and 2 deletions

View File

@ -10,12 +10,22 @@ Debian Linux发行版中的APT软件包管理工具
### 语法 ### 语法
```shell ```shell
apt-get(选项)(参数) apt-get [OPTION] PACKAGE
``` ```
### 选项 ### 选项
```shell ```shell
apt-get install 安装新包
apt-get remove 卸载已安装的包(保留配置文件)
apt-get purge 卸载已安装的包(删除配置文件)
apt-get update 更新软件包列表
apt-get upgrade 更新所有已安装的包
apt-get autoremove 卸载已不需要的包依赖
apt-get dist-upgrade 自动处理依赖包升级
apt-get autoclean 将已经删除了的软件包的.deb安装文件从硬盘中删除掉
apt-get clean 删除软件包的安装包
-c指定配置文件。 -c指定配置文件。
``` ```
@ -89,4 +99,4 @@ apt-get autoclean
``` ```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ --> <!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->