Skip to content

Instantly share code, notes, and snippets.

@assapir
assapir / build-arch-aarch64-utm-vm.md
Last active March 26, 2026 08:10
Building an Arch Linux aarch64 VM image for UTM (Apple Silicon)

Building an Arch Linux aarch64 VM image for UTM (Apple Silicon)

Build a bootable qcow2 disk image of the unofficial Arch Linux aarch64 port from a Raspberry Pi or any aarch64 Linux system, for use with UTM on Apple Silicon Macs.

Prerequisites

On your aarch64 Linux host, install:

pacman -S gptfdisk qemu-img arch-install-scripts dosfstools
@assapir
assapir / install-arch-aarch64-rpi5.md
Last active March 26, 2026 08:57
Installing Arch Linux aarch64 (drzee.net port) on Raspberry Pi 5

Installing Arch Linux aarch64 (drzee.net port) on Raspberry Pi 5

A guide to installing the unofficial Arch Linux aarch64 port from ports.archlinux.page on a Raspberry Pi 5.

This uses the drzee.net package repositories, which rebuild packages directly from upstream Arch Linux PKGBUILDs for aarch64.

Note: You need another Linux machine (or an existing ALARM install) to prepare the drive.

1. Partition the drive

Keybase proof

I hereby claim:

  • I am assapir on github.
  • I am meijin007 (https://keybase.io/meijin007) on keybase.
  • I have a public key ASAvZua12PF0ZjsdPu-aJrKvhqTW5DZG_Mb33G2vGbn_aQo

To claim this, I am signing this object:

@assapir
assapir / example.cpp
Created December 2, 2017 19:15
coding conventions example
#include "example.h"
// space line
#include <system includes> // by alphabetic order
#include "project includes" // by alphabetic order
class CameCse : public BaseClass {
public:
void LongFunctionName(
/*2 spaces after ( */ int camelCase1,