How To Use YAY To Install AUR Packages
YAY is an AUR (Arch User Repository) helper for Arch Linux. It simplifies the process of installing and managing software not available in the official Arch repositories. With a user-friendly interface, YAY streamlines the installation of packages, handling dependencies and updates seamlessly. It enhances the Arch Linux experience by providing a convenient way to access a vast array of community-contributed packages.
To provide an efficient, customizable, and user-friendly environment suitable for a diverse range of users, TCET Linux was conceived with several key goals in mind.
Dependency
Open a terminal and install git
if not already installed:
sudo pacman -S git
A. YAY Installation
YAY on Any Arch Linux System
Clone the
yay
repository:git clone https://aur.archlinux.org/yay.git
Move into the cloned directory:
cd yay
Build and install
yay
:makepkg -si
YAY on TCET Linux
Open Terminal:
install yay
B. Install AUR Packages through YAY
Once yay
is installed, you can use it to easily install packages from the Arch User Repository (AUR). Here's how you can do it:
Search for Packages: To search for a package in the AUR, use the following command:
yay -Ss <package_name>
Install Packages: To install a package from the AUR, use the following command:
yay -S <package_name>
Remove Packages: To remove a package installed from the AUR, use the following command:
yay -R <package_name>
C. Example: Installing visual-studio-code-bin
Search for
visual-studio-code
Packages: Search for availablevisual-studio-code
packages on the AUR:yay -Ss visual-studio-code
Install visual-studio-code-bin: Choose the
visual-studio-code-bin
package and install it using the following command:yay -S visual-studio-code-bin
Remove visual-studio-code-bin: If you need to remove the
visual-studio-code-bin
package, use the following command:yay -R visual-studio-code-bin
Now you've successfully searched, installed, and removed the visual-studio-code-bin package using
yay
on your Arch Linux or TCET Linux system.