paru Command Examples in Linux

“paru” is a package manager tool for Arch Linux and its derivatives, such as Manjaro. It is designed to work with the Arch User Repository (AUR), which is a community-driven repository of user-contributed packages.

“paru” acts as both an AUR helper and a pacman wrapper, meaning it can both install packages from the AUR and manage packages installed from the official repositories. As an AUR helper, “paru” automates the process of downloading, compiling, and installing packages from the AUR, making it easier for users to install and manage packages from this repository. As a pacman wrapper, “paru” provides a simplified interface for interacting with pacman, Arch Linux’s package manager, allowing users to perform common tasks such as updating, searching, and removing packages, with a few simple commands.

“paru” is designed to be easy to use, providing users with an intuitive and user-friendly interface for managing packages on Arch Linux-based systems. Additionally, “paru” offers features such as searching for packages by name or description, displaying package information, and keeping track of updates, making it a powerful tool for managing packages on Arch Linux.

paru Command Examples

1. Interactively search for and install a package:

# paru {{package_name_or_search_term}}

2. Synchronize and update all packages:

# paru

3. Upgrade AUR packages:

# paru -Sua

4. Get information about a package:

# paru -Si {{package_name}}

5. Download PKGBUILD and other package source files from the AUR or ABS:

# paru --getpkgbuild {{package_name}}

6. Display the PKGBUILD file of a package:

# paru --getpkgbuild --print {{package_name}}
Related Post