Installing with AUR
đ Installing Packages with an AUR Helper on Snigdha OSâ
Snigdha OS is known for its powerful Arch User Repository (AUR), which provides access to user-contributed packages that are not included in the official repositories. To simplify the process of building and installing packages from the AUR, many users rely on AUR helpers like yay
, paru
, or trizen
.
đ§ Step 1: Install an AUR Helperâ
Popular AUR Helpersâ
-
Yay (Yet Another Yaourt)
Lightweight and popular among Arch users.- Install:
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
- Install:
-
Paru
A modern AUR helper written in Rust, which offers fast operations and is actively maintained.- Install:
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
- Install:
-
Trizen
Another reliable AUR helper that integrates with pacman and supports clean builds.- Install:
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/trizen.git
cd trizen
makepkg -si
- Install:
đ Step 2: Search and Install AUR Packagesâ
Once your AUR helper is installed, you can easily search for and install AUR packages.
Basic Commandsâ
Command | Description |
---|---|
yay -S package-name | Install a package from AUR. |
paru -S package-name | Install a package from AUR. |
trizen -S package-name | Install a package from AUR. |
yay -Ss package-name | Search for a package in AUR. |
paru -Ss package-name | Search for a package in AUR. |
trizen -Ss package-name | Search for a package in AUR. |
yay -Syu | Update all installed packages (including AUR). |
paru -Syu | Update all installed packages (including AUR). |
trizen -Syu | Update all installed packages (including AUR). |
yay -R package-name | Remove a package. |
paru -R package-name | Remove a package. |
trizen -R package-name | Remove a package. |
đ Step 3: Example Installationsâ
-
Install
visual-studio-code-bin
(AUR package):yay -S visual-studio-code-bin
-
Search for a package (e.g., Brave Browser):
paru -Ss brave
-
Update All Packages:
yay -Syu
-
Remove a Package (e.g., Discord):
paru -R discord
â ī¸ Tips and Precautionsâ
-
Enable Parallel Builds: Speed up builds by editing
/etc/makepkg.conf
and setting:MAKEFLAGS="-j$(nproc)"
This uses all available CPU cores for compiling.
-
Check PKGBUILDs: Always review the PKGBUILD file for security before installing a package:
yay -G package-name
cd package-name
cat PKGBUILD -
Use Trusted Helpers: Stick to widely-used and actively maintained AUR helpers to minimize risks.
-
Update Regularly: Keep your system updated, as outdated packages can lead to dependency issues:
yay -Syu
đ Conclusionâ
Using an AUR helper like yay
, paru
, or trizen
streamlines the process of installing and managing AUR packages, making Snigdha OS even more powerful and user-friendly. Happy exploring! đ