Skip to content

Instantly share code, notes, and snippets.

@mmansion
Forked from ryansturmer/raspi-archlinux-setup.sh
Created October 9, 2013 21:46
Show Gist options
  • Save mmansion/6909036 to your computer and use it in GitHub Desktop.
Save mmansion/6909036 to your computer and use it in GitHub Desktop.
#!/bin/sh
# System Update
pacman --noconfirm -Syu
#The essentials
pacman --noconfirm -S base-devel vim git
# Packer (AUR Helper)
cd /tmp
mkdir packer_build
cd packer_build
wget https://aur.archlinux.org/packages/pa/packer/PKGBUILD
makepkg --asroot --noconfirm -i -s
# raspi-config script
# Surprised this can't be found in the AUR?
pacman --noconfirm -S parted libnewt
cd /tmp
mkdir raspi-config_build
cd raspi-config_build
git clone git://github.com/chattama/raspi-config-archlinux.git .
cp ./raspi-config /usr/bin
#Drivers
pacman --noconfirm -S xf86-video-fbdev
#Xorg
pacman --noconfirm -S xorg-server xorg-apps
#LXDE
pacman --noconfirm -S lxde
pacman --noconfirm -S gamin
#Network Configuration
pacman --noconfirm -S NetworkManager
ip link set eth0 down
ip link set wlan0 down
systemctl enable NetworkManager
systemctl start NetworkManager
echo "Run nmcli wifi connect <essid> password <password> to configure a wireless network."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment