32 lines
496 B
Markdown
32 lines
496 B
Markdown
# Pacman
|
|
|
|
## Search
|
|
|
|
```sh
|
|
pacman -Ss <key words>
|
|
```
|
|
|
|
## Install
|
|
|
|
```sh
|
|
pacman -S <package name>
|
|
# if error <file> exists in filesystem
|
|
pacman -S <package name> --force
|
|
```
|
|
|
|
## Remove
|
|
|
|
```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
|
|
```
|
|
|
|
## Update
|
|
|
|
```sh
|
|
pacman -Syu
|
|
```
|