You are not logged in.

#1 2023-06-10 10:56:38

linuxscoop
Member
Registered: 2022-08-09
Posts: 26

How do I make the package manager update yay automatically?

After installing yay with

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

would it be updated by the package manager automatically? If not how do I make the package manager update yay automatically?

Offline

#2 2023-06-10 11:04:18

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 468

Re: How do I make the package manager update yay automatically?

it is in the AUR so it update itself

ezik

Offline

#3 2023-06-10 11:08:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,127

Re: How do I make the package manager update yay automatically?

https://wiki.archlinux.org/title/AUR_helpers , note the red box at top of the page .

1. No .
2 . Move away from archlinux to another distro that packages yay.

If you want to ease managing aur packages without hiding lots of things try the options that are NOT pacman wrappers.


Edit :
yay may be able to update itself, but it's not your package manager

Last edited by Lone_Wolf (2023-06-10 11:10:22)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2023-06-10 12:28:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: How do I make the package manager update yay automatically?

Why would you install yay at all if you are asking this question?  The process of updating yay is identical to the process of updating anything you'd use yay to install.  So why ask specifically about updating yay versus asking "How do I make the package manager update AUR packages automatically?" ... to which the answer is provided above.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB