Skip to content

Instantly share code, notes, and snippets.

@vermotr
Forked from kmikko/2_Arch_post-install.md
Last active July 31, 2022 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vermotr/ff6a6921ea3fac3b4a23834a11370b5d to your computer and use it in GitHub Desktop.
Save vermotr/ff6a6921ea3fac3b4a23834a11370b5d to your computer and use it in GitHub Desktop.
Arch Linux post-installation

Arch Linux post-installation

Install GNOME and GDM

sudo pacman -S gnome gdm
sudo systemctl enable gdm
reboot

Set keyboard layout (for GDM)

sudo localectl set-x11-keymap fr

Install Yay

See https://github.com/Jguer/yay

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Install plymouth

yay -S plymouth gdm-plymouth

Set theme

sudo plymouth-set-default-theme bgrt

Edit /etc/mkinitcpio.conf to add plymouth after udev and replace encrypt by plymouth-encrypt

HOOKS="base udev plymouth autodetect modconf block keymap plymouth-encrypt lvm2 filesystems keyboard fsck"

Regenerate initrd image

sudo mkinitcpio -p linux

Edit /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet splash vt.global_cursor_default=0"

Regenerate grub configuration file

sudo grub-mkconfig -o /boot/grub/grub.cfg

Bluetooth

sudo pacman -S bluez bluez-utils blueman

Load the generic bluetooth driver

sudo modprobe btusb

Start and enable bluetooth service

sudo systemctl start bluetooth.service
sudo systemctl enable bluetooth.service

Go

sudo pacman -S go go-tools
mkdir -p ~/go/{bin,src}

Add following to zsh config ~/.zshrc

export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

Git

sudo pacman -S git
git config --global user.name "[YOUR_NAME]"
git config --global user.email "[YOUR_EMAIL]"

Docker & Docker Compose

Install

sudo pacman -S docker

Start and enable service

sudo systemctl start docker.service
sudo systemctl enable docker.service

Add user to docker group

gpasswd -a $(whoami) docker
relog

Verify

docker info

Install docker-compose

sudo pacman -S docker-compose

Other useful software

Visual Studio Code

yay -S visual-studio-code-bin

Firefox

sudo pacman -S firefox

Thunderbird

yay -S thunderbird-bin

Spotify

yay -S spotify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment