NotePublic/Software/Applications/Pacman/Pacman.md

32 lines
496 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
```
## Update
```sh
pacman -Syu
```