From 3ae1f4d8ffb6942ab3ad543861a10c3086cfb47d Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Fri, 2 Aug 2019 15:26:37 +0800 Subject: [PATCH] =?UTF-8?q?pacman=20=E8=A1=A5=E5=85=85=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ithink.chan --- Software/Application/Pacman/Pacman.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Software/Application/Pacman/Pacman.md b/Software/Application/Pacman/Pacman.md index 743283a..6ea6603 100644 --- a/Software/Application/Pacman/Pacman.md +++ b/Software/Application/Pacman/Pacman.md @@ -2,16 +2,24 @@ ## Search - pacman -Ss +```sh +pacman -Ss +``` ## Install - pacman -S +```sh +pacman -S +# if error exists in filesystem +pacman -S --force +``` ## Remove - pacman -Rscun - -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 +```sh +pacman -Rscun + -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 +```