Skip to content

Instantly share code, notes, and snippets.

@adrianwebb
Created December 4, 2017 01:07
Show Gist options
  • Save adrianwebb/f6a1c3a0393e5482a0add00b63ac49cf to your computer and use it in GitHub Desktop.
Save adrianwebb/f6a1c3a0393e5482a0add00b63ac49cf to your computer and use it in GitHub Desktop.
electricsheep-installer.sh
#!/bin/bash
# Must be run as root
# Install ElectricSheep dependencies
apt-get install subversion autoconf libtool libgtk2.0-dev libgl1-mesa-dev libavcodec-dev libavformat-dev libswscale-dev liblua5.1-0-dev libcurl4-openssl-dev libxml2-dev libjpeg8-dev libgtop2-dev libboost-dev libboost-filesystem-dev libboost-thread-dev libtinyxml-dev freeglut3-dev glee-dev
# Install WxWidgets
apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
apt-add-repository 'deb http://repos.codelite.org/wx3.0.2/ubuntu/ trusty universe'
apt-get update
apt-get install libwxbase3.0-0-unofficial libwxbase3.0-dev libwxgtk3.0-0-unofficial libwxgtk3.0-dev wx3.0-headers wx-common
# Install Flam3
cd /tmp
git clone https://github.com/scottdraves/flam3.git flam3
cd flam3
./configure
autoreconf -f -i
make
make install
# Install ElectricSheep
cd /tmp
git clone https://github.com/scottdraves/electricsheep electricsheep
cd electricsheep/client_generic
./autogen.sh
./configure
make
make install
@jezek
Copy link

jezek commented Feb 12, 2023

Thank you. This inspired me to make similar script for Ubuntu 22.10

https://gist.github.com/jezek/1074f8c14dffbf72dec1ed3aa9f0b443

@adrianwebb
Copy link
Author

Excellent! Electric Sheep is great. Thanks for posting!

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