Finding software on Arch Linux can mean searching configured repositories or the AUR. Paru is a community-developed helper that searches the AUR, builds its packages, and passes package operations to pacman.
This article explains how to build Paru from its AUR recipe and use it to search for and install a package.
TL;DR
Paru is an Arch User Repository (AUR) helper that combines AUR builds with pacman-style package operations. Install it by reviewing its AUR build recipe and running makepkg as a regular user.
- Install the build tools from Arch’s configured repositories.
- Inspect the Paru PKGBUILD before building and installing it.
- Use a full system upgrade and review every proposed transaction.
What Is Paru on Arch Linux?
Paru is a community-developed helper that searches the AUR, builds its packages, and passes package operations to pacman. The AUR contains user-maintained build recipes rather than official Arch binary packages, so a helper does not remove the need to inspect what you build.
Pacman manages packages from configured Arch repositories and local package archives. An AUR helper connects that workflow to PKGBUILD files, which describe how makepkg fetches, verifies, and packages source code. ArchWiki classifies AUR helpers as unsupported by Arch Linux.
That support boundary leaves review and package maintenance with the user. Read the recipe and follow upstream notices when an installed AUR package changes.
Paru and yay both provide pacman-style operations for AUR work. Choose by comparing the commands and settings documented by each project, not by assuming one is universally better. Paru’s upstream README points readers to paru(8) and paru.conf(5) for those details.
The pacman guide for Arch Linux explains repository operations. The Linux package build guide provides background on source builds.
I checked the upstream AUR Git repository with git ls-remote and it returned commit 675b2c0803072a523f2ea9f5a9372ec271b74f8d. That confirms the repository endpoint responded, not that its recipe is safe. I use the AUR source package as the documented path here because it makes the reviewable build recipe explicit.
How to Install and Use Paru Step by Step
Install Paru by preparing build tools, reviewing its AUR recipe, and building as a regular user. This keeps the package source visible before it becomes an installed package.
Step 1: Install build prerequisites
On Arch Linux, base-devel supplies the tools used by common AUR builds, and git retrieves the package repository. Install these from the configured official repositories with pacman. Package installation changes your system, so read the transaction and confirm it only when the package names and removals match your intention.
sudo pacman -Syu --needed base-devel git
The combined -Syu operation refreshes repository data and performs a full upgrade while installing the named packages. Arch does not support partial upgrades, so avoid a standalone pacman -Sy followed by an install.
Step 2: Fetch and inspect the Paru recipe
Clone the AUR package repository, then read PKGBUILD and any accompanying install or patch files before running a build command. A PKGBUILD is executable shell code, so treat it as code from an external contributor rather than as a trusted package manifest.
git clone https://aur.archlinux.org/paru.git
cd paru
less PKGBUILD
Check the source locations, checksums or signatures, build steps, dependencies, and any install script. The Arch notice about malicious AUR packages recommends reviewing PKGBUILD and install-script changes. Do not copy a recipe from a comment or skip review because a helper fetched it for you.
Step 3: Build and install with makepkg
From the cloned directory, makepkg builds the package and -i asks it to install the result through pacman. Run this as your regular user because makepkg refuses root builds.
makepkg -si
Read the dependency list and final transaction before accepting. If compilation fails, check package metadata and upstream instructions for a missing dependency or toolchain requirement.
Step 4: Search and install a package
Paru accepts familiar pacman operations. Search first, then confirm the source shown for the result before installation.
paru -Ss package_name
paru -S aur/package_name
Use the aur/ prefix when you mean the AUR entry specifically. A matching repository name or provided capability can otherwise lead to a different source. Replace package_name with the exact identifier.
Step 5: Update repository and AUR packages
Upstream documents bare paru as an alias for paru -Syu, the full upgrade operation. The narrower AUR operations are -Sua for upgrades and -Qua for querying available updates.
paru
paru -Sua
paru -Qua
Use the full upgrade for routine maintenance because an AUR-only operation does not upgrade the entire Arch system. Review changed PKGBUILDs and proposed versions before accepting an update.
Step 6: Download build files without installing
Upstream documents -G for downloading AUR build files without installing them. Use this when you want to inspect the recipe, compare changes, or prepare a local build before a package transaction.
paru -G package_name
After downloading, enter the created package directory and inspect its files before running makepkg. Upstream documents -Gc for displaying AUR comments. Comments can provide context but do not establish that a recipe is safe or correct.
The AUR recipe and a binary variant are distinct package routes. The former builds on the machine from its recipe, while the latter is maintained separately and may distribute upstream-built artifacts.
Before choosing, compare the source, maintainer, update cadence, dependencies, and build instructions. A shared package name does not prove that two entries are interchangeable.
The AUR page’s package metadata and comments can help explain build dependencies or known changes. Treat comments as reports from users, not release guarantees. Confirm a claimed fix or option in Paru’s upstream repository and release notes before relying on it.
If you edit a downloaded PKGBUILD, keep the change local and understand how it affects the source, checksum, build flags, and installed files. A local edit can change what the package installs, so review the diff before running makepkg. When an upstream update changes the recipe, inspect those changes again rather than assuming an earlier review still applies.
Some AUR packages need rebuilding after a shared library changes. The helper can build and install an updated recipe, but it cannot guarantee that every package’s maintainer has updated the build instructions. If a build reports a missing source or dependency, check the package page and the upstream project before retrying.
Paru Limits and Common Issues
Paru cannot make an AUR recipe trustworthy, and its command syntax does not make AUR packages official Arch packages. Keep the distinction clear when diagnosing a missing command, package-source mismatch, or build failure.
| Symptom | Likely cause | Next check |
|---|---|---|
| paru: command not found | Paru is not installed or the shell PATH does not include its location | Check the package transaction and open a fresh shell |
| makepkg refuses to run | The command is being run as root | Use a regular user in the cloned build directory |
| Unexpected package source | A repository package or Provides match was selected | Review the result and request aur/package_name explicitly |
| Build fails after an update | Source, dependencies, or PKGBUILD instructions changed | Review the current recipe and upstream package comments |
I ran paru --help as a first-use check and the shell returned “paru: command not found.” The makepkg --version check also returned command not found. This means the helper and build tool are not available in the current PATH.
On Arch, follow the installation steps above, then check the package transaction and open a fresh shell if the command remains missing.
Package source selection can be affected by a repository package that provides a capability under another name. Inspect the selected source before confirming, or request the explicit aur/ target when that is the intended package.
Paru v2.2.0 was released on 2026-10-28, and its notes include pacman 7.1 support. The release also documents options such as MinimumReleaseAge and package exclusions.
Check the current release notes and paru(8) before using flags from an older guide. Building Paru itself from source requires Rust 1.88 or newer. Users installing the AUR package generally follow the package recipe instead.
Conclusion
Paru brings AUR searching and building into a pacman-style workflow, while leaving package review and maintenance with you. Inspect the PKGBUILD, build as a regular user, and read every proposed transaction before confirming it.
For command details, use the Paru README, its release notes, and ArchWiki’s AUR guide. Use the LinuxForDevices pacman reference when you need repository-package operations.
FAQ
These answers clarify the package source and the first steps after installation.
Is Paru an official Arch Linux package manager?
No. Paru is an AUR helper maintained outside the official Arch Linux project. It wraps pacman-style operations and builds community AUR recipes.
Can Paru update AUR packages?
Yes. Upstream documents paru as the full upgrade command, paru -Sua for AUR package upgrades, and paru -Qua to query AUR updates.
Should I run makepkg as root?
No. Build AUR packages as a regular user. makepkg is designed to refuse root builds.
