Skip to content

techniixdotcom/imu-yay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

imuyay.sh

A setup script that brings the Arch Linux AUR ecosystem to any Linux distro by spinning up an Arch Linux container via Distrobox and wiring up yay as a first-class command on your host shell.


What It Does

  1. Checks dependencies — verifies distrobox and a container runtime (podman or docker) are available.
  2. Creates an Arch Linux container — uses Distrobox to create a container named arch-dev (skips if it already exists).
  3. Installs base packages — runs pacman -Syu and installs base-devel, git, curl, and wget inside the container.
  4. Installs yay — clones and builds yay-bin from the AUR inside the container.
  5. Exports yay to the host — makes the yay binary available at ~/.local/bin via distrobox-export.
  6. Updates PATH — adds ~/.local/bin to your shell config (~/.zshrc or ~/.bashrc) if not already present.
  7. Adds a yay wrapper function — the wrapper automatically exports newly installed app .desktop files to your launcher after every yay -S install.
  8. Installs shell tools — sets up starship, zsh-syntax-highlighting, zsh-autosuggestions, and fzf inside the container.

Requirements

Dependency Notes
distrobox v1.4+ recommended
podman or docker Distrobox requires one of these as a container runtime
zsh or bash The script auto-detects your shell

Usage

chmod +x imuyay.sh
./imuyay.sh

Once complete, reload your shell:

source ~/.zshrc   # or ~/.bashrc

Then install any AUR package as you normally would:

yay -S vlc
yay -S spotify
yay -S google-chrome

Installed apps will appear in your desktop launcher automatically.


Notes

  • The Arch container is named arch-dev. You can enter it directly at any time with distrobox enter arch-dev.
  • The yay wrapper only auto-exports .desktop files on -S (install) operations. Other yay flags work normally.
  • Shell tool installation (starship, fzf, etc.) is non-critical — the script will warn but not fail if any of those steps encounter issues.
  • The script is idempotent: running it multiple times is safe and will skip already-completed steps.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages