pacman 补充强制安装命令

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-08-02 15:26:37 +08:00
parent b5b24beac0
commit 3ae1f4d8ff
1 changed files with 15 additions and 7 deletions

View File

@ -2,16 +2,24 @@
## Search
pacman -Ss <key words>
```sh
pacman -Ss <key words>
```
## Install
pacman -S <package name>
```sh
pacman -S <package name>
# if error <file> exists in filesystem
pacman -S <package name> --force
```
## Remove
pacman -Rscun <package name>
-c, --cascade remove packages and all packages that depend on them
-n, --nosave remove configuration files
-s, --recursive remove unnecessary dependencies
-u, --unneeded remove unneeded packages
```sh
pacman -Rscun <package name>
-c, --cascade remove packages and all packages that depend on them
-n, --nosave remove configuration files
-s, --recursive remove unnecessary dependencies
-u, --unneeded remove unneeded packages
```