PikoPong
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux
No Result
View All Result
PikoPong
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux
No Result
View All Result
PikoPong
No Result
View All Result
Home Linux

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

February 2, 2021
in Linux
283 9
Paru – A New AUR Helper and Pacman Wrapper Based on Yay


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 onlyparu -Qua : Print available AUR updatesparu -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.

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.

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

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.

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.

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

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.

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!

Like what you read? Please share it with others.



Source link

Share219Tweet137Share55Pin49

Related Posts

What is GNU/Linux Copypasta? – It’s FOSS
Linux

What is GNU/Linux Copypasta? – It’s FOSS

As a Linux user, you might have come across a long text that starts with “I’d like to interject...

February 27, 2021
How to Install the Latest Erlang on Ubuntu Linux
Linux

How to Install the Latest Erlang on Ubuntu Linux

Erlang is a functional programming language for building massive scalable real-time systems. Originally created by Ericsson as a proprietary...

February 26, 2021
Check Your Disk Usage Using ‘duf’ Terminal Tool in Linux
Linux

Check Your Disk Usage Using ‘duf’ Terminal Tool in Linux

Brief: duf is a terminal tool meant as an enhancement to the traditional “df” and “du” Linux commands. It...

February 23, 2021
ESPlot: Open Source Software for Plotting Real-Time, High-Speed Signals For Embedded Systems
Linux

ESPlot: Open Source Software for Plotting Real-Time, High-Speed Signals For Embedded Systems

Confronted with the need of plotting high-speed (or high number of data) signals, typically for embedded systems applications and...

February 22, 2021
Next Post
Dynamically Switching From One HTML Element to Another in Vue

Dynamically Switching From One HTML Element to Another in Vue

I Saw Two Mega Menus Today…

I Saw Two Mega Menus Today…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

Checklist Cards PDF — Smashing Magazine

Checklist Cards PDF — Smashing Magazine

September 7, 2020
Amazon ECS Now Supports EC2 Inf1 Instances : idk.dev

Amazon ECS Now Supports EC2 Inf1 Instances : idk.dev

August 15, 2020
Pausing a GIF with details/summary

Pausing a GIF with details/summary

July 24, 2020
How To Use Styled-Components In React — Smashing Magazine

Getting Started With Next.js — Smashing Magazine

October 22, 2020

Categories

  • AWS
  • Big Data
  • Database
  • DevOps
  • IoT
  • Linux
  • Web Dev
No Result
View All Result
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In