pacman 补充强制安装命令
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
b5b24beac0
commit
3ae1f4d8ff
|
@ -2,16 +2,24 @@
|
||||||
|
|
||||||
## Search
|
## Search
|
||||||
|
|
||||||
pacman -Ss <key words>
|
```sh
|
||||||
|
pacman -Ss <key words>
|
||||||
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
pacman -S <package name>
|
```sh
|
||||||
|
pacman -S <package name>
|
||||||
|
# if error <file> exists in filesystem
|
||||||
|
pacman -S <package name> --force
|
||||||
|
```
|
||||||
|
|
||||||
## Remove
|
## Remove
|
||||||
|
|
||||||
pacman -Rscun <package name>
|
```sh
|
||||||
|
pacman -Rscun <package name>
|
||||||
-c, --cascade remove packages and all packages that depend on them
|
-c, --cascade remove packages and all packages that depend on them
|
||||||
-n, --nosave remove configuration files
|
-n, --nosave remove configuration files
|
||||||
-s, --recursive remove unnecessary dependencies
|
-s, --recursive remove unnecessary dependencies
|
||||||
-u, --unneeded remove unneeded packages
|
-u, --unneeded remove unneeded packages
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue