NotePublic/Software/Application/Pacman/Pacman.md

26 lines
462 B
Markdown
Raw Normal View History

# 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
```