

Paru -- The New AUR Helper
source link: https://ttys3.dev/post/paru-the-new-aur-helper/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

April 6, 2021
paru 是什么?⚓
paru v1.0.0 and stepping away from yay
Last week I announced my new AUR helper paru.
Since then a lot of testing has gone in and a lot of bugs fixed by me and help from contributors.
So I am now announcing paru v1.0.0 and consider it stable.
I’d also like to mention I no longer plan to work on yay. I’ve been co-developing yay with jguer over the past 3 years. Most of the features and design being done by me.
I’ve had no motivation and no real involvement with the project for quite a while now. So I’m officially deciding to move on to something new.
Jguer is still there, so there’s no need to panic and move away from yay. Just don’t expect much new development on it.
所以, parau 的作者之前也是yay的共同开发者。yay 是采用 Golang 编写的 AUR helper, 而新的 paru 采用 Rust 实现。
changes from yay⚓
paru 首个版本发布时,作者在release log 里描述了它与 yay 的区别。
Added⚓
- Added –nocheck
- Added –develsuffixes
- Added –installDebug
- Added NoWarn
- Added syntax highlighting to pkgbuild printing
- Auto detection for pacman-git. Paru will build against pacman-git’s API
Removed⚓
- Remove –timeupdate, –requestsplitn
- Remove –save -Pg –Pd -Ps
- Remove -Gf
- Remove –cleanmenu
- Remove -Y/–yay, stuff like –gendb still work even though they belonged to -Y
Changed⚓
- List based flags now append instead of overwriting existing settings
- Packages are now cloned to ~/.cache/paru/clone by default
- Use asp for repo pkgbuilds
- Improve news printing
- Formatting changes to be more pacman like
- -Yc accounts for makedeps for aur packages
- Devel info is now saved to devel.json
- Devel info schema change
- Sources are no longer downloaded in batch
- Only treat packages matching develsuffixes as devel
如何安装paru⚓
# archlinux cn repo users
sudo pacman -S paru
# other users
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
paru常用操作⚓
paru
: 相当于paru -Syu
(If no arguments are provided ‘paru -Syu’ will be performed)paru <用户输入>
:搜索并安装“用户输入”paru -Sua
:仅升级 AUR 包。paru -Qua
:打印可用的 AUR 更新paru -Gc <用户输入>
:显示“用户输入”的 AUR 评论
paru 配置⚓
要在 paru
中启用颜色,你必须先在 pacman
中启用它。编辑 /etc/pacman.conf
,确保 Color
选项是打开的即可 (老灯发现其实默认是打开的)。
paru的配置文件位于 /etc/paru.conf
paru 有个叫 BottomUp
的选项,打开之后,包的显示顺序会倒过来(比如原来排名第一的,会显示在最底部),这样做的理由是:优先级较高的包,通过倒序显示后,离 Prompt 最近了,也就是离我们视线的关注点最近了。
这个喜好与否,因人而异中以。
如果需要编辑 PKGBUILD
,需要打开parau配置文件中的 FileManager
选项。安装 vifm : sudo pacman -S vifm
然后配置:
[bin]
FileManager = vifm
老灯觉得这个配置项有点奇怪。
另外一点,与yay不同的是,对于 paru, 你所做的任何改变都将是永久性的,下次升级软件包时,你的改变将与上游软件包合并。
Refs⚓
https://github.com/Morganamilo/paru
https://aur.archlinux.org/packages/paru/
https://github.com/Morganamilo/paru/releases/tag/v1.0.0
https://www.reddit.com/r/archlinux/comments/jjn1c1/paru_v100_and_stepping_away_from_yay/
https://www.reddit.com/r/archlinux/comments/jdyvyr/so_i_made_another_aur_helper_paru/
https://www.reddit.com/r/archlinux/comments/ju50j7/why_do_people_still_use_yay_instead_of_paru/
Recommend
-
41
导读 7 月 7 日,有一个 AUR 软件包被改入了一些恶意代码,提醒 Arch Linux 用户(以及一般的 Linux 用户)在安装之前应该尽可能检查所有由用户生成的软件包。 AUR(即 Arch(Linux)用户仓库)包...
-
21
Search Criteria Enter search criteria
-
13
最近,yay 的两位开发者之一的 Morganamilo宣布将退出 yay 的维护工作,以开始自己的 AUR 助手 paru。 来源: https://
-
12
Copy link Owner Morganamilo commented
-
10
Feature packed AUR helper Description Paru is your standard pacman wrapping AUR helper with lots of features and minimal interaction. Installation sudo pacman -S --needed base-devel git clone https...
-
6
以 WPS 为例,手动构建和安装 AUR 的包 2021-10-11 约 235 字 预计阅读 1 分钟 3 次阅读 最近系统从 Kubuntu 切换到 Arch Linux 了,安装了最新的
-
7
<?xml encoding="utf-8" ??>On Arch Linux, the official repositories are: core, extra and community. These packages are already compiled, and they are installed through pacman. For the most par...
-
3
What's new in the Twilio helper library for ASP.NET (v6.0.0 - August 2022)
-
5
Aurél...
-
5
如果你不熟悉 Paru,它其实是一个
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK