• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress

Paru – A New AUR Helper and Pacman Wrapper Based on Yay

March 25, 2021 by bartez64

One of the main reasons that a user chooses Arch Linux or an Arch based Linux distribution is the Arch User repository (AUR).

Unfortunately, pacman, the package manager of Arch, can’t access the AUR in a similar way to the official repositories. The packages in AUR are in the form of PKGBUILD and require a manual process to be built.

An AUR helper can automate this process. Without any doubt yay is one of the most popular and highly favoured AUR helper.

Recently Morganamilo, one of the two developers of yay, announced that is stepping away from maintaining yay and starting his own AUR helper called paru. Paru is written in Rust compared to yay that is written in Go and its design is based on yay.

Please note that yay hasn’t reach the end of life and is still being actively maintained by Jguer. He also commented that paru may be suitable for users that looking for a feature rich AUR helper; thus I would recommend giving it a try.

Installing Paru AUR helper

To install paru, open your terminal and type the following commands one by one.

sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

Now that you have it installed, let’s see how to use it.

Essential commands to use Paru AUR helper

In my opinion these are the most essential commands of paru. You can explore more on the official repository on GitHub.

  • paru <userinput> : Search and install <userinput>.
  • paru — : Alias for paru -Syu
  • paru -Sua : Upgrade AUR packages only
  • paru -Qua : Print available AUR updates
  • paru -Gc <userinput> : Print the AUR comments of <userinput>

Using Paru AUR helper to its full extent

You can access the changelog of paru on GitHub for the full changelog history or you can see the changes from yay at the first release.

Enable colour in Paru

To enable colour in paru, you have to enable it first in pacman. All the configuration files are in /etc directory. In this example, I use Nano text editor but, you may use any terminal-based text editor of your choice.

sudo nano /etc/pacman.conf

Once you open the pacman configuration file, uncomment the “Color” to enable this feature.

Pacman.conf Color

Flip search order

The most relevant package according to your search term is normally displayed on the top of the search result. In paru, you can flip the search order to make your search easier.

Similar to the previous example, open the paru configuration file:

sudo nano /etc/paru.conf

Uncomment the “BottomUp” term and save the file.

Paru AUR helper configuration

As you can see the order is flipped and the first package appears on the bottom.

Paru.conf Bottomup 2

Edit PKGBUILDs (For advanced user)

If you are an experienced Linux user, you can edit AUR packages through paru. To do so, you need to enable the feature from the paru configuration file and set the file manager of your choice.

In this example I will use the default in the configuration file i.e. the vifm file manager. If you haven’t used it you may need to install it.

sudo pacman -S vifm
sudo nano /etc/paru.conf

Open the configuration file and uncomment as shown below.

Paru.conf Vifm

Let’s go back to the Google Calendar AUR package and try to install it. You will be prompted to review the package. Type yes and click enter.

Paru Proceed For Review

Choose the PKGBUILD from the file manager and hit enter to view the package.

Paru Proceed For Review 2

Any change that you make will be permanent and the next time you upgrade the package, your changes will be merged with the upstream package.

Paru Proceed For Review 3

Conclusion

Paru is another interesting addition to the AUR helpers family with a promising future. At this point I wouldn’t suggest replacing yay as it is still maintained but definitely give paru a try. You can have both of them installed to your system and come to your own conclusions.

To get the latest Linux news, subscribe to our social media to be among the first to get them whilst they are fresh!

Original Article

Related posts:

  1. Yaourt is Dead! Use These Alternatives for AUR in Arch Linux
  2. 7 Essential Things To Do After Installing Arch Linux 
  3. How to Install Google Chrome in Arch-based Linux Distributions
  4. How to Install and Remove Software in Manjaro Linux
  5. How to Install Arch Linux on a Raspberry Pi 4 [Step-by-step Tutorial for Beginners]
  6. How to install Arch Linux on VirtualBox
  7. How to Install Arch Linux [Step by Step Guide]
  8. Lenovo ThinkPad X1 Nano Review: Crazy light, but also crazy good
  9. Linux Package Managers
  10. 20+ Free Books To Learn Linux For Free

Filed Under: Linux

Primary Sidebar

Trending

  • How to fix Windows Update Error 80244019
  • Windows 10 Update keeps failing with error 0x8007001f – 0x20006
  • How To Change Netflix Download Location In Windows 10
  • Troubleshoot Outlook “Not implemented” Unable to Send Email Error
  • How do I enable or disable Alt Gr key on Windows 10 keyboard
  • How To Install Android App APK on Samsung Tizen OS Device
  • 3 Ways To Open PST File Without Office Outlook In Windows 10
  • FIX: Windows Update error 0x800f0986
  • How to Retrieve Deleted Messages on Snapchat
  • Latest Samsung Galaxy Note 20 leak is a spec dump revealing key features
  • Install Android 7.0 Nougat ROM on Galaxy Core 2 SM-G355H
  • 192.168.1.1 Login, Admin Page, Username, Password | Wireless Router Settings
  • Websites to Watch Movies Online – 10+ Best Websites Without SignUp/Downloading
  • How to Backup SMS Messages on Your Android Smartphone
  • How to delete a blank page at the end of a Microsoft Word document
  • Fix: The Disc Image File Is Corrupted Error In Windows 10
  • Android 11 Custom ROM List – Unofficially Update Your Android Phone!
  • Samsung Galaxy Z Fold 3 could be scheduled for June 2021, with S Pen support

Footer

Tags

Amazon amazon prime amazon prime video Apple Application software epic games Galaxy Note 20 Galaxy S22 Plus Galaxy S22 Ultra Google Sheets headphones Huawei icloud Instagram instant gaming ip address iPhone iphone 12 iphone 13 iphone 13 pro max macOS Microsoft Microsoft Edge Mobile app office 365 outlook Pixel 6 Samsung Galaxy Samsung Galaxy Book 2 Pro 360 Samsung Galaxy Tab S8 Smartphone speedtest speed test teams tiktok Twitter vpn WhatsApp whatsapp web Windows 10 Windows 11 Changes Windows 11 Release Windows 11 Update Windows Subsystem For Android Windows 11 Xiaomi

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org