登录 注册
自动化与工作流 archlinuxauraur-completionsaur-helperaur-packagespacaur
13,835
Stars
435
Forks
74
Watchers
225
Open Issues
GPL-3.0
许可证
Go
语言
2016-09-05
创建时间
2026-11-12
最近更新

项目能做什么

使用 Go 语言编写的 AUR 助手工具。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
[![yay](https://img.shields.io/aur/version/yay?color=1793d1&label=yay&logo=arch-linux&style=for-the-badge)](https://aur.archlinux.org/packages/yay/)
[![yay-bin](https://img.shields.io/aur/version/yay-bin?color=1793d1&label=yay-bin&logo=arch-linux&style=for-the-badge)](https://aur.archlinux.org/packages/yay-bin/)
[![yay-git](https://img.shields.io/aur/version/yay-git?color=1793d1&label=yay-git&logo=arch-linux&style=for-the-badge)](https://aur.archlinux.org/packages/yay-git/)
![AUR votes](https://img.shields.io/aur/votes/yay?color=333333&style=for-the-badge)
[![GitHub license](https://img.shields.io/github/license/jguer/yay?color=333333&style=for-the-badge)](https://github.com/Jguer/yay/blob/next/LICENSE)

# yay

Yet Another Yogurt - An AUR Helper Written in Go

### Help translate yay: [Transifex](https://app.transifex.com/yay-1/yay/)

## Features

- Advanced dependency solving
- PKGBUILD downloading from ABS or AUR
- Completions for AUR packages
- Query user up-front for all input (prior to starting builds)
- Narrow search (`yay linux header` will first search `linux` and then narrow on `header`)
- Find matching package providers during search and allow selection
- Remove make dependencies at the end of the build process
- Build local PKGBUILDs with AUR dependencies
- Un/Vote for packages

[![asciicast](https://asciinema.org/a/399431.svg)](https://asciinema.org/a/399431)

[![asciicast](https://asciinema.org/a/399433.svg)](https://asciinema.org/a/399433)

## Installation

If you are migrating from another AUR helper, you can simply install yay with that helper.

> [!WARNING]  
> We are using `sudo` in these examples. You can switch that out for a different privilege escalation tool.

### Source

The initial installation of yay can be done by cloning the PKGBUILD and
building with makepkg:

We make sure we have the `base-devel` package group installed.

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

If you want to do all of this at once, we can chain the commands like so:

```sh
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
```

### Binary

If you do not want to compile yay yourself you can use the builds generated by
GitHub Actions.

```sh
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
```

If you want to do all of this at once, we can chain the commands like so:

```sh
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si
```

### Other distributions

If you're using Manjaro or [another distribution that packages `yay`](https://repology.org/project/yay/versions)
you can simply install yay using pacman (as root):

```sh
pacman -S --needed git base-devel yay
```
> [!WARNING]
> distributions sometimes lag updating yay on their repositories.

## First Use

#### Development packages upgrade

- Use 
阅读完整原文

项目深度分析 AI 生成

私有 Arch/AUR 远程构建与企业内部制品库(SaaS/私有化)

产品构想基于 yay 生态构建云端预编译和私有包管理平台,让团队/企业内部无需每台机器重复编译,集中解决编译慢与专有软件分发问题。
核心功能云端/私有环境 PKGBUILD 自动构建集群、私有 Pacman 仓库托管、团队权限与包版本管理、与 yay 无缝集成的源配置代理。
目标用户使用 Arch 系系统作为工作站或服务器的技术公司、开发团队及独立开发者。
难度/周期高 · 3-6个月 · 成本:服务器/对象存储资源、高并发构建计算集群成本、安全隔离沙箱研发投入。
收费模式按团队席位收费(Seat-based)或按构建时长、存储用量阶梯计费(订阅制)。
竞争风险Arch 在企业生产环境占有率显著低于 Debian/Ubuntu/RHEL,目标企业客群基数有限;GPL-3.0 协议要求注意服务边界隔离。
依据 AI推测

AUR 供应链安全审计与漏洞扫描引擎

产品构想针对 AUR 任何人均可提交导致恶意脚本横行的现状,为 yay 或 pacman 提供前置的 PKGBUILD 安全分析与静态代码审计服务。
核心功能PKGBUILD 及源脚本静态分析(防后门、恶意 curl/bash 下载检测)、已知 CVE 依赖预警、yay 命令行插件式安全评分与拦截集成。
目标用户对系统安全敏感的个人极客、合规性要求的开发团队与企业安全管理人员。
难度/周期中等 · 2-3个月 · 成本:安全特征库维护、规则引擎开发、扫描节点服务器成本。
收费模式个人基础免费,针对高级威胁情报订阅、企业团队统一安全控制台收取年费。
竞争风险Arch 极客用户习惯自行审查 PKGBUILD 源码,第三方扫描工具信任度建立较慢;潜在误报率影响体验。
依据 AI推测

社区生态赞助与高级发行支持/定制服务

产品构想围绕 yay 巨大装机量与高星标基础,通过 GitHub Sponsors、Open Collective 设立赞助体系,并向硬件或系统定制方案商提供打包/定制咨询。
核心功能优先 Issue 处理与功能定制、企业专属特性分支维护、特定嵌入式平台的适配支持。
目标用户硬件集成商(如便携掌机/嵌入式 Arch 厂商)、重度依赖 yay 的忠实开源个人用户。
难度/周期低 · 1个月以内 · 成本:几乎无金钱成本,主要是维护者精力与沟通成本。
收费模式个人/企业捐赠赞助徽章、技术咨询与定制开发服务包。
竞争风险赞助收入通常极不稳定且金额较小,不足以支撑全职商业运作。
依据 数据支持的判断
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2016-09-05,近 30 天仍在推送,发布过 100 个 Release
社区活跃Star 13,835 / Fork 435 / Issue 225(数据支持,可自行核实)
许可证GPL-3.0 商用需注意传染性条款
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。