Skip to content

Repository files navigation

aurc

A fast, secure package manager wrapper for Arch Linux with automatic AUR fallback.

Features

  • Wraps pacman for official repo packages
  • Full AUR support — download, inspect PKGBUILD, build with makepkg
  • Smart installaurc install <pkg> checks official repos first, falls back to AUR automatically
  • PKGBUILD review prompt before every AUR installation
  • Built-in self-update — keeps aurc current without any third-party tools
  • Configure your preferred editor for mirrorlist editing

Requirements

Platform: Arch Linux

Runtime dependencies:

DependencyPurpose
pacmanOfficial repo operations
sudoPrivilege escalation
base-develmakepkg for building AUR packages
gitCloning repos
curlAUR HTTP requests
json-cAUR API response parsing
lessPKGBUILD viewer

Build dependencies:gcc, make, libarchive

Installation

sudo pacman -S gcc make base-devel curl json-c libarchive git
git clone https://github.com/resslr/aurc.git
cd aurc/src && sudo make install

Updating

Once installed, aurc can update itself:

aurc self-update

This clones the latest source, rebuilds, and reinstalls automatically.

Usage

aurc [command] [package(s)]

Running aurc with no arguments performs a full system upgrade — equivalent to pacman -Syyu followed by an AUR packages update check.

Shorthands

Every command has a short flag alias — same position as the action word:

ShortFull command
-Sinstall
-Sainstall-aur
-Slinstall-local
-Sfinstall-force
-Rremove
-Rsremove-dep
-Rddremove-force
-Rddsremove-force-dep
-Roremove-orp
-Sssearch
-Ssasearch-aur
-Qquery
-Syuupdate
-Suself-update
-Syyrefresh
-Memodify-repo
-Cclear-aur-cache
aurc -S neovim # same as: aurc install neovim
aurc -Sa spotify # same as: aurc install-aur spotify
aurc -Ssa python # same as: aurc search-aur python
aurc -R firefox # same as: aurc remove firefox
aurc -Q git # same as: aurc query git

Commands

Installation

CommandDescription
install <pkg...>Install packages — checks official repos first, falls back to AUR automatically
install-aur <pkg...>Install AUR packages directly
install-local <path>Install a local .pkg.tar.zst file
install-force <pkg...>Force install, skipping dependency checks

Removal

CommandDescription
remove <pkg...>Remove packages
remove-dep <pkg...>Remove packages and their dependencies
remove-force <pkg...>Force remove, even if other packages depend on it
remove-force-dep <pkg...>Force remove with dependencies
remove-orpRemove orphaned packages

Search & Query

CommandDescription
search <query>Search official repositories
search-aur <query>Search AUR — results sorted by relevance, interactive filter prompt after results
search-aur -s <name>Show only the exact package name match
list-aur <query>List all installed AUR packages, optionally filtered by name
query <pkg>Check if a package is installed

System

CommandDescription
(no args)Full upgrade — system packages + all AUR packages
updateUpdate system packages only (pacman -Syyu)
self-updateUpdate aurc to the latest version
refreshRefresh repository databases
modify-repoEdit /etc/pacman.d/mirrorlist in your configured editor
clear-aur-cacheClear the AUR build cache (~/.cache/aurc/)
config -e <editor>Set the default editor for modify-repo

Options

FlagDescription
-h, --helpShow help
-v, --versionShow version

Example

# Smart install — finds in repos, or falls back to AUR
aurc install neovim
# Inspect and install an AUR package directly
aurc install-aur spotify
# Search AUR with interactive filter
aurc search-aur python
# Remove multiple packages
aurc remove firefox thunderbird
# Keep aurc up to date
aurc self-update

About

Fast Arch Linux Package Manger

Topics

Resources

Code of conduct

Security policy

Stars

19 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages