`yay: command not found` when using pacseek

Could not find info about this. Yay is installed by default as far as I can tell. I used it to install some apps, and if I run yay -S app-name it begins the installation process.

Yet if I run pacman -Qql yay it returns error: package 'yay' was not found, and if I try to install an aur app with pacseek it returns

/bin/bash: line 1: yay: command not found

exit status 127
Press ENTER to return to pacseek
~$ garuda-inxi
System:
  Kernel: 6.2.12-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=dcc00dc0-be25-44ae-afb0-b21c38dd277c rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 rd.live.overlay.overlayfs=1 ibt=off
  Desktop: GNOME v: 43.4 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 44.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 17 9720 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0KNF8J v: A00 serial: <superuser required> UEFI: Dell
    v: 1.15.0 date: 02/07/2023
Battery:
  ID-1: BAT0 charge: 87.4 Wh (100.0%) condition: 87.4/95.1 Wh (91.9%)
    volts: 13.1 min: 11.4 model: SMP DELL 01RR3YM type: Li-poly serial: <filter>
    status: full
CPU:
  Info: model: 12th Gen Intel Core i7-12700H bits: 64 type: MST AMCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x429
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 2001 high: 2700 min/max: 400/4600:4700:3500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 621 2: 2700 3: 2700
    4: 2700 5: 2700 6: 1128 7: 722 8: 2700 9: 521 10: 497 11: 2700 12: 2700
    13: 2700 14: 2700 15: 2700 16: 2700 17: 719 18: 2700 19: 717 20: 2700
    bogomips: 107520
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Dell driver: i915
    v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports:
    active: eDP-1 empty: DP-5, DP-6, DP-7, DP-8, DP-9, HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Dell
    driver: nouveau v: kernel non-free: 530.xx+ status: current (as of 2023-03)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-22 pcie:
    gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16 ports: active: none
    empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 01:00.0 chip-ID: 10de:2520
    class-ID: 0300
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-6:2 chip-ID: 0c45:6732 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: X: loaded: modesetting,nouveau
    alternate: fbdev,intel,nv,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Sharp 0x1517 built: 2021 res: 3840x2400 dpi: 266
    gamma: 1.2 size: 366x229mm (14.41x9.02") diag: 432mm (17") ratio: 16:10
    modes: 3840x2400
  Message: No known Wayland EGL/GBM data sources. API: EGL/GBM
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Dell
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Device-2: NVIDIA GA106 High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  API: ALSA v: k6.2.12-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.69 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IF-ID-1: nordlynx state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-10:4
    chip-ID: 8087:0033 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 2.75 TiB used: 10.36 GiB (0.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 2TB size: 1.82 TiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 4B2QEXM7 temp: 35.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:1 vendor: Samsung model: PM9A1 NVMe 1024GB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 36309229 temp: 38.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 10.36 GiB (0.6%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:9
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:8
  ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 10.36 GiB (0.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:9
  ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 10.36 GiB (0.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:9
  ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 10.36 GiB (0.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:9
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 62.49 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Use of uninitialized value $unit in concatenation (.) or string at /usr/bin/inxi line 24660.
Use of uninitialized value $value in concatenation (.) or string at /usr/bin/inxi line 24660.
Sensors:
  Src: /sys System Temperatures: cpu: 46.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
Info:
  Processes: 415 Uptime: 21m wakeups: 20410 Memory: 62.49 GiB
  used: 5.14 GiB (8.2%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1272
  libs: 375 tools: pamac,paru Shell: fish v: 3.6.1 default: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.26
Garuda (2.6.16-1):
  System install date:     2023-04-23
  Last full system update: 2023-04-23
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:

On garuda, only paru is installed by default.

If you check your shell's config file (.config/fish/fish.conf iirc), you should be able to find an alias that aliases yay to paru

If you really need yay, just install it via sudo pacman -S yay

5 Likes

lmao ok, i'll post back if i can't find a way to make it work in pacseek

Or in pacseek, ctrl-s and configure the commands.

2 Likes

Ya that's what I ended up doing.

~$ yay --version
paru v1.11.1 - libalpm v13.0.2

Just noticed this. I didn't even know that was possible.

Yesterday when I said "yay is installed by default" I just assumed that the version it showed was the yay version.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.