Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pacman

A pacman-inspired CLI wrapper for dnf/yum on RPM-based Linux systems.

Note: This is not a drop-in pacman replacement. It uses its own flag conventions (e.g. -Sybau) and does not aim to be fully compatible with real Arch pacman syntax.

Install

just install

Requires just. Builds a release binary and installs it to /usr/local/bin/pacman.

Usage

Install packages

sudo pacman -Sybau <package(s)>
Flag Meaning
-S sync — operate on the package database
-y yes — assume yes / sync repos before acting
-b best — prefer the best (latest) available version
-a all — apply to all packages, not just listed ones
-u upgrade — upgrade out-of-date packages

Update all packages

sudo pacman -Sybau

Other common commands

pacman dnf equivalent
pacman -Ss <term> dnf search <term>
pacman -Si <pkg> dnf info <pkg>
pacman -Sc dnf clean packages
pacman -Scc dnf clean all
sudo pacman -R <pkg(s)> dnf remove <pkg(s)>
sudo pacman -Rs <pkg(s)> dnf remove <pkg(s)> && dnf autoremove
sudo pacman -Rsc dnf autoremove
pacman -Q rpm -qa
pacman -Qs <term> rpm -qa | grep <term>
pacman -Qi <pkg> rpm -qi <pkg>
pacman -Ql <pkg> rpm -ql <pkg>
pacman -Qo <file> rpm -qf <file>
pacman -Qu dnf check-update
pacman -Qe dnf history userinstalled
pacman -Fs <file> dnf repoquery --file <file>
pacman -Fl <pkg> dnf repoquery -l <pkg>

Run pacman -h for the full help.

Uninstall

just uninstall

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages