mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
1.3 KiB
1.3 KiB
Pacman
Useful options:
--asdeps--asexplicit--needed--unneeded
Table of contents
TL;DR
# Search installed packages.
pacman -Q -s 'ddc'
# List all explicitly (manually) installed packages.
pacman -Q -e
# Set packages as explicitly (manually) installed.
pacman -D --asexplicit 'dkms'
# Set packages as installed as dependency (automatically installed).
pacman -D --asdeps 'autoconf'
# Refresh repositories' cache.
pacman -Sy
# Download packages from repositories.
# Does *not* install them.
pacman -Sw 'fzf'
# Install packages from repositories.
pacman -S -qy --needed --noprogressbar 'fzf' 'zsh-completions=0.35.0-1'
# Install packages from local directories.
pacman -U 'fzf-0.44.1-1-x86_64.pkg.tar.zst'
# Completely remove packages.
pacman -R -nsu --noprogressbar 'virtualbox-guest-utils-nox'
# Take actions without supervision.
# Useful in scripts.
pacman --noconfirm …