Skip to content

enihcam/aur-skills / skills/aur-pacman

aur-pacman

Verified

Manage packages with pacman on Arch Linux. Covers install, remove, query, search, and cache management. Use when installing, removing, querying, or troubleshooting packages on an Arch system.

FileKindSize
SKILL.mdskill md1.7 KB
---
name: aur-pacman
description: Manage packages with pacman on Arch Linux. Covers install, remove, query, search, and cache management. Use when installing, removing, querying, or troubleshooting packages on an Arch system.
license: MIT
---

# Skill: aur-pacman

## Purpose

Manage Arch Linux packages with pacman — the package manager.

## Basic Operations

```bash
pacman -Syu              # full system update
pacman -S pkgname        # install package
pacman -R pkgname        # remove package
pacman -Rs pkgname       # remove + unused dependencies
pacman -U /path/to/pkg.tar.zst  # install local file
```

## Search & Query

```bash
pacman -Ss keyword       # search remote repos
pacman -Qs keyword       # search installed packages
pacman -Si pkgname       # remote package info
pacman -Qi pkgname       # installed package info
pacman -Ql pkgname       # files owned by package
pacman -Qo /path/file    # which package owns file
pacman -Fl pattern       # list files in a sync-DB package (Files DB; not pkgfile)
pacman -Qdt              # orphaned packages
pacman -Qmq              # foreign packages (typically AUR)
```

## Cache Management

```bash
paccache -r              # remove old cached versions (keep last 3)
pacman -Sc               # remove unused cached packages
pacman -Scc              # clean everything from cache
```

## Useful Flags

- `--noconfirm` — skip prompts
- `--needed` — don't reinstall up-to-date packages
- `--overwrite glob` — overwrite conflicting files
- `--print` — print what would be done (dry run)

## Database

```bash
pacman -Syy              # force refresh all databases
pacman-key --init        # initialize keyring
pacman-key --populate    # load default keys
```

## Related

- `aur-helpers` — yay, paru wrappers
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall