Skip to content

Instantly share code, notes, and snippets.

@codebrainz
Last active July 13, 2019 03:49
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 codebrainz/18b199d6868128a44b767b4852043aae to your computer and use it in GitHub Desktop.
Save codebrainz/18b199d6868128a44b767b4852043aae to your computer and use it in GitHub Desktop.
Compile Geany against GTK+ 2 on Debian-like distros.
#!/bin/sh
set -e
sudo apt-get install build-essential autotools-dev autoconf libgtk2.0-dev
mkdir -p ${HOME}/.local/src
cd ${HOME}/.local/src
git clone https://github.com/geany/geany.git
cd geany
./autogen.sh --prefix=${HOME}/.local --disable-gtk3
make
make install
${HOME}/.local/bin/geany -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment