Skip to content

Instantly share code, notes, and snippets.

View guitarpicva's full-sized avatar

Mitchell Winkle guitarpicva

View GitHub Profile
@guitarpicva
guitarpicva / gist:5de25ffab45e85ea4b54a297a7a8c85b
Last active January 11, 2024 21:00
Multipass cloud-init file for making a Qt6.4.2 dev system on Ubuntu 23.10 (mantic) First comment is how to make the multipath call.
#multipass -vv launch --name default --cloud-init ubuntu23ci.txt -c 2 -m 4G mantic --bridged --timeout 500
# When cloud-init is used to make a custom image, it is accomplished as the root user, so if
# permissions or ownership of files is important later, it should be adjusted as required here.
users:
- default
package_update: true
package_upgrade: true
packages:
- cmake
- nano
Suitable for RPi4 or RPi400. Tested with 4GB RAM RPi400 system and 32 GB SD card. 2023-09-12
# THE MACHINE YOU USE TO MAKE THE Alpine Linux SD CARD SHOULD BE BACKED UP FOR
# SAFETY!!!!!!!!!!!!!!!!!!!! YOU HAVE BEEN WARNED.
# Download the Alpine Linux for RPi in the aarch64 flavor. The current stable is a
# good place to start in order to get used to the process. As of 2023-11-17, stable is at:
https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/aarch64/alpine-rpi-3.18.4-aarch64.tar.gz
@guitarpicva
guitarpicva / setupRPi3BPlus.sh
Last active August 18, 2023 11:45
Example of how to do freshy RPi3B+ setup for things like FLDIGI and other applications which use Qt libraries.
#!/bin/bash
#edit /etc/apt/sources.list and uncomment the source line
sudo sed -i '/#deb-src/s/^#//g' /etc/apt/sources.list
# do a apt update to grab the source package data
# if that fails due to network missing, kills the script
sudo apt update && sudo apt build-dep fldigi
sudo apt install qt5-default qtmultimedia5-dev libqt5serialport5-dev
# libqt5network5-dev
# Edit /etc/dphys-swapfile and change CONF_SWAPSIZE=100
# to CONF_SWAPSIXE=1024 to help compile FLDIGI