Skip to content

Instantly share code, notes, and snippets.

@mnuddindev
Last active December 20, 2022 04:20
Show Gist options
  • Select an option

  • Save mnuddindev/d33c3d99d0412032abd2e56af96bf66d to your computer and use it in GitHub Desktop.

Select an option

Save mnuddindev/d33c3d99d0412032abd2e56af96bf66d to your computer and use it in GitHub Desktop.
sudo nano /etc/pacman.d/mirrorlist
sudo pacman -Sy archlinux-keyring && sudo pacman -Syyu
useradd --create-home dev
passwd dev
sudo -lU dev
usermod -aG wheel dev
nano /etc/sudoers/
Find and uncomment the following line: "%wheel ALL=(ALL) ALL"
Find and uncomment the following line: " %sudo ALL=(ALL) ALL"
Add the line "qiusheng ALL=(ALL) ALL" after "root ALL=(ALL) ALL"
Open windows terminal (windows powershell)
Arch config --default-user dev
sudo pacman -S git base-devel wget
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment