Skip to content

Archlinux

Eugene Chapko edited this page Jun 23, 2022 · 3 revisions

Archlinux

  1. Follow the official installation guide

  2. Setup network

    ; /etc/systemd/network/20-wired.network
    ; ---
    [Match]
    Name=eth0 ; check with ip addr
    
    [Network]
    DHCP=yes
    • enable network services
    systemct enable systemd-networkd.service
    systemct enable systemd-resolved.service
  3. set -e
    
    pacman -S --needed --noconfirm \
      base base-devel man-db man-pages zsh wget openssh \
      git yadm neovim \
      python pyenv \
      xorg-server xorg-apps \
      lightdm lightdm-gtk-greeter \
      awesome noto-fonts noto-fonts-emoji \
      firefox
    
    # install yay from aur
    AUR_DIR=$(mktemp -d)
    (
      cd "$AUR_DIR"
      wget https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz
      tar -xzf yay.tar.gz
      cd yay
      vim .
      makepkg -si
    )
    rm -rf "$AUR_DIR"
    
    yay -S lightdm-webkit-theme-aether nvm
    
    EDITOR=vim visudo  # uncommend %wheel ALL=(ALL:ALL) ALL
    
    username="<Username>"
    useradd -m -s /bin/bash "$username"
    passwd "$username"
    usermod -aG wheel "$username"
    
    systemctl enable lightdm.service

    As a user:

    # https://github.com/nvm-sh/nvm#installing-and-updating
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
Clone this wiki locally