Skip to content

Instantly share code, notes, and snippets.

sudo pacman -Sy --noconfirm linux-headers
# enable multilib
sudo sed -i '/\[multilib\]/,+1 s/^#//' /etc/pacman.conf
curl https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz | tar -xvz
pushd package-query
makepkg -si --noconfirm
popd
rm -rf package-query*
@camjjack
camjjack / arch-linux-install
Last active July 9, 2017 10:02 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# This assumes a wifi only system...
#!/bin/bash
GDB_CMD_FILE="gdb_cmds.gdb"
pkill socat
# Be verbose
set -e
function usage {