pacman: add sudo and use long options (#7132)

This commit is contained in:
marchersimon
2021-10-25 04:10:33 +02:00
committed by GitHub
parent 13684a83be
commit c9b5344150
7 changed files with 44 additions and 44 deletions

View File

@@ -6,15 +6,15 @@
- Synchronize and update all packages:
`pacman --sync --refresh --sysupgrade`
`sudo pacman --sync --refresh --sysupgrade`
- Install a new package:
`pacman --sync {{package_name}}`
`sudo pacman --sync {{package_name}}`
- Remove a package and its dependencies:
`pacman --remove --recursive {{package_name}}`
`sudo pacman --remove --recursive {{package_name}}`
- Search the package database for a regular expression or keyword:
@@ -34,4 +34,4 @@
- Empty the entire pacman cache:
`pacman --sync --clean --clean`
`sudo pacman --sync --clean --clean`