在Arch Linux上安装yay

  有点麻烦。

  • 准备
# pacman -Syu
# pacman -S --needed base-devel git
  • 变身为普通用户

不能使用root下载代码。所以要变身为普通用户:

# sueradd tsit
# su tsit
  • 下载代码
$ git clone https://aur.archlinux.org/yay.git
  • 编译安装
$ cd yay
$ makepkg -si
  • 如果遇到错误

Running makepkg as root is not allowed as it can cause permanent,catastrophic damage to your system-CSDN博客

报错:is not in the sudoers file.-CSDN博客

相关推荐

  1. Arch Linux安装yay

    2023-12-12 06:24:03       39 阅读
  2. macbook pro 2018 T2 芯片安装 archlinux 双系统

    2023-12-12 06:24:03       27 阅读
  3. Linux安装CLion

    2023-12-12 06:24:03       35 阅读

最近更新

  1. TCP协议是安全的吗?

    2023-12-12 06:24:03       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-12 06:24:03       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-12 06:24:03       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-12 06:24:03       18 阅读

热门阅读

  1. Scala学习一:语法基础/数据类型/变量

    2023-12-12 06:24:03       40 阅读
  2. Spring Boot中JdbcTemplate多数据源配置

    2023-12-12 06:24:03       40 阅读
  3. Jenkins:持续集成与持续交付的自动化利器

    2023-12-12 06:24:03       38 阅读
  4. 运筹学经典问题(一):指派问题

    2023-12-12 06:24:03       35 阅读
  5. 字符串相似度计算:Jaro-Winkler算法实现

    2023-12-12 06:24:03       43 阅读
  6. Docker笔记:Docker中简单配置Mysql/Redis/Mongodb容器

    2023-12-12 06:24:03       38 阅读
  7. uniapp点击图片预览功能?

    2023-12-12 06:24:03       42 阅读
  8. 排序算法——归并排序

    2023-12-12 06:24:03       35 阅读