Ghostboard pixel Skip to content

AUR Helper Paru 2.0 Upgrade is Here With Features for Power Users

Paru 2.0 release has landed after a long time.

For those who are unfamiliar, Paru is an AUR helper that automates the tedious process of manually building PKGBUILDs for installing packages on Arch Linux.

It has gotten a new major release in the form of Paru 2.0, that has some important improvements.

Let's see what this release of Paru has to offer.

Before we begin, you need to ensure that you know how to troubleshoot your way around when using AUR helpers to build packages. If you are new to Linux, you should stick to your package manager.

🆕 Paru 2.0: What's New?

a screenshot of paru 2.0 being installed

Paru 2.0 release is an update that aims to bring some major changes, and is mostly aimed at power users.

This release comes more than a year after the last major release. The developer said that he didn't have enough spare time and there were many changes that needed to be done.

The developer also added that:

As there's not been a release in so long, consider a lot of the things here not battle tested, with a .1 patch to follow.

So, keeping that in mind, let's take a look at the highlights of the Paru 2.0 release.

It is now possible to integrate non-AUR PKGBUILDs into the build engine. You can add other “pkgbuild” repositories to your paru.conf by using the following command:

Url = https://path/to/git/repo

Then syncing up the repo with:

paru -Sy --pkgbuilds

Moreover, you can specify a path to point to a local pkgbuild repo.

These repos have a higher priority than AUR, and also allow for the inclusion of AUR dependencies in them.

Another neat feature is the new automatic pkgbuild repo named " . ", which is invisible in the paru.conf.

This allows for executing a 'paru -S ./foo' command, where 'foo' is the name of a package under the current directory.

What this results in is the ability to have a bunch of pkgbuilds in the same directory that depend on each other, and you can build any one of them using the aforementioned command.

When you build them, Paru will take care of solving and building the dependencies from the pkgbuilds in the directory itself.

🛠️ Other Changes and Improvements

Other than the ones mentioned above, here are some other changes:

  • A fix for no sudo when running paru -Sc.
  • Dates now use the local time zone from your system.
  • Provide searching has been improved, and it now enabled by default.
  • Removed confirmation for pacman install after final paru confirmation is done.
  • --chroot does not require local repos anymore, but it works better with those around.

For a more in-depth look into this release, you may go through the release notes.

📥 Get Paru 2.0

If you installed Paru from AUR, then you can upgrade to the 2.0 release from there. But, if you built it, you could try the -U flag to update or build it again.

If you are installing it for the first time, head over to its GitHub repo and follow the installation instructions.

If you are eager to know more about Paru, or want to learn how to install it. I highly suggest you go through our article on Paru AUR helper:

Paru - AUR Helper and Pacman Wrapper Based on Yay
Paru is a new AUR helper based on Yay. It is written in Go and gives you a feature rich experience with AUR packages in Arch Linux.

💬 Arch users, are you hyped about this release of Paru? Let us know!

More from It's FOSS...