Skip to content

Pacman wrappers

cli

pamac

  • Manjaro Wiki
  • config dir: ~/.config/pamac
  • tmp dir: /var/tmp/pamac
  • DBs: /var/tmp/pamac/dbs/sync
  • Temp package files: /var/tmp/pamac/aur-varac

Usage:

List available updates:

Pamac issues

Can't install for aur packages on corporate proxy
  • Gitlab issue
  • Solution: Use yay for installing AUR packages
unable to lock database, Failed to synchronize databases
invalid or corrupted database
  • Error: Failed to prepare transaction: invalid or corrupted database

Try this solution:

pamac update --force-refresh

If this doesn't solve the issue, try this solution from a Manjaro fourum post:

sudo pacman-mirrors -g -c Germany
sudo rm /var/lib/pacman/sync/*
sudo pacman-key --init
sudo pacman-key --refresh-keys
sudo pacman-key --populate archlinux manjaro
sudo pacman -Syyu

yay

  • Github
  • Not packaged in Arch, but pre-packaged in Manjaro-sway

Behind proxy:

Use --sudoflags=-E:

Update package lists:

yay -Syu --sudoflags=-E

Install package:

yay -S google-cloud-sdk --sudoflags=-E

Paru

Install:

sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

Files:

  • Cache/clone dir: ~/.cache/paru/clone/

Usage

Interactive search and install:

paru inxi

Install package:

paru -S tofi

baph

  • Github
  • Not packaged in Arch
  • Stale !

Full system upgrade:

baph -u

TUI

Parui

parui is a TUI frontend to paru