From 8ec1d53ea4b23e5c2755e20e10cd41fcb8ecee0d Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Tue, 14 Oct 2025 17:19:22 +0200 Subject: [PATCH] arch: timid installations --- distros/arch/pacman.md | 2 +- distros/arch/pacman_extras.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/distros/arch/pacman.md b/distros/arch/pacman.md index 6d9e9be..3a7495f 100644 --- a/distros/arch/pacman.md +++ b/distros/arch/pacman.md @@ -51,7 +51,7 @@ sudo pacman -S archlinux-keyring List all orphaned packages: ```sh -sudo pacman -Qtdq +pacman -Qtdq ``` Removing a package: diff --git a/distros/arch/pacman_extras.md b/distros/arch/pacman_extras.md index 53c730a..4ca18d4 100644 --- a/distros/arch/pacman_extras.md +++ b/distros/arch/pacman_extras.md @@ -16,3 +16,14 @@ Getting the colors is done by editing the `/etc/pacman.conf` and uncommenting th By adding the line `ILoveCandy` you will unlock some terminal animations, like pacman eating dots while installing some package. +## Timid Installations + +Want to try out software, but not sure if you want to keep it? +You can tell `pacman` that this is a dependency for another package: + + +```sh +pacman -S --noconfirm --asdeps +``` + +When you [remove orphaned packages](pacman.md), the package will be automatically uninstalled.