trizen
Install, update, and manage AUR packages
TLDR
Synchronize and update all AUR packages
Install a new package
Remove a package and its dependencies
Search the package database for a keyword
Show information about a package
List installed packages and versions
SYNOPSIS
trizen [options]
Common usage examples:
trizen -Syu
trizen -S <package(s)>
trizen -Ss <keyword>
trizen -R <package(s)>
PARAMETERS
-S, --sync
Synchronize packages. Used for installing new packages or upgrading existing ones.
-Ss, --search
Search for packages in both official repositories and the AUR.
-Syu
Synchronize and upgrade all packages, including those from official repositories and the AUR.
-R, --remove
Remove specified packages from the system.
-Rnsc
Remove packages, their dependencies, and configuration files, cleaning orphans.
-Qdt
Query for orphaned packages (dependencies not required by any installed package).
-G, --getpkgbuild
Download the PKGBUILD and related files for an AUR package.
--noconfirm
Bypass all confirmation prompts during operations, useful for scripting.
--skipreview
Automatically skip the PKGBUILD review prompt when installing AUR packages (use with caution).
--m-a, --makepkg-args
Pass custom arguments directly to the underlying makepkg command.
DESCRIPTION
trizen is an AUR helper for Arch Linux that automates the process of building and installing packages from the Arch User Repository. It acts as a wrapper around pacman for official repository packages and provides enhanced functionality for AUR packages, including dependency resolution, interactive build prompts, and support for split packages. Written in Perl, trizen is known for its speed and efficiency. Its features include searching the AUR, installing packages, upgrading AUR and pacman packages, removing orphaned dependencies, and providing a clean interface for managing Arch system software. It aims to simplify the AUR experience for users by handling tasks like PKGBUILD fetching, checksum validation, and compilation.
CAVEATS
Building packages from the AUR can be resource-intensive and time-consuming.
Users should always exercise caution when installing AUR packages, as they are user-submitted and not officially maintained by Arch Linux. Reviewing PKGBUILDs is crucial for security, even though trizen provides options like --skipreview to bypass this step.
CONFIGURATION
trizen allows for user-specific configurations to be set in files, typically ~/.config/trizen/trizen.conf. This allows users to set default options, such as automatically skipping PKGBUILD review or setting custom makepkg arguments, without typing them on the command line every time.
LANGUAGE
Uniquely, trizen is written in Perl, which contributes to its reputation for being lightweight and fast compared to some other AUR helpers written in different languages.
HISTORY
trizen emerged as an AUR helper focusing on Perl as its language, offering a lightweight and efficient alternative to some other helpers. Its development aimed to provide a fast and reliable interface for the AUR, integrating pacman's capabilities seamlessly. It gained popularity for its feature set, including comprehensive AUR search, dependency resolution, and support for split packages, which are common in the AUR. While other helpers like yay and paru have also risen in prominence, trizen maintains its user base due to its unique implementation and specific feature set.