23 lines
1.1 KiB
Bash
Executable File
23 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
# install-parrot.sh — build lightgui (LightGUI) on ParrotOS (Debian 13 / trixie based).
|
|
# Tested 2026-11-28 in LXC container lightgui-parrot. NOTE: there is no native
|
|
# Parrot LXC image on images.linuxcontainers.org, so the test ran on Parrot's
|
|
# parent, Debian 13 (trixie), amd64, IP 10.0.3.9. The same apt commands apply
|
|
# on real ParrotOS; the plain install below worked on the stand-in.
|
|
# Result on stand-in: clean build, lightgui binary produced, gtk+-3.0 3.24.49.
|
|
# Real-Parrot gotcha (from the author's own ParrotOS machine, NOT reproduced
|
|
# in the container): if `apt install libgtk-3-dev` fails with a dependency
|
|
# conflict (newer ATK runtimes vs older -dev packages), prefer the backports
|
|
# suite — on Parrot it is named `echo-backports`, NOT `trixie-backports`:
|
|
# apt install -t echo-backports libgtk-3-dev
|
|
# If that still fails, try aptitude (see README troubleshooting).
|
|
set -e
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt-get update
|
|
apt-get upgrade -y
|
|
apt-get install -y git build-essential pkg-config libgtk-3-dev glade cmake gdb xvfb python3
|
|
git clone https://github.com/cnmcdee/lightgui.git
|
|
cd lightgui
|
|
make
|
|
ls -l lightgui
|