Skip to content

Instantly share code, notes, and snippets.

@TyrfingMjolnir
Last active June 25, 2023 22:36
Show Gist options
  • Save TyrfingMjolnir/ffce89b7a9479f0f964963f093e8e937 to your computer and use it in GitHub Desktop.
Save TyrfingMjolnir/ffce89b7a9479f0f964963f093e8e937 to your computer and use it in GitHub Desktop.

youtube-dl https://www.youtube.com/watch?v=pN0u2UePEYM

The system used while writing this note; based on ubuntu 20.04.6 mini.iso with openssh server only from tasksel. I went the Alt 1 route myself.

ssh pcem
$ cat /etc/issue
Ubuntu 20.04.6 LTS \n \l
sudo mkdir -p /opt/local/dev
sudo mkdir -p /opt/local/bin

sudo apt-get install vim neovim tmux htop inxi lshw git build-essential

cd /opt/local/dev
git clone https://github.com/sarah-walker-pcem/pcem
cd pcem
sudo apt-get install libsdl2-dev

sudo apt-get install libopenal-dev

Alt 1) Official

sudo apt-get install libwxbase3.0-dev \
                 libwxbase3.0-0v5 \
                 libwxgtk-media3.0-gtk3-dev \
                 libwxgtk-webview3.0-gtk3-dev \
                 libwxgtk3.0-gtk3-dev \
                 libwxsvg-dev wx3.0-i18n \
                 wx3.0-examples \
                 wx3.0-doc

or Alt 2) unofficial

sudo apt-get install software-properties-common

sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc

sudo apt-add-repository 'deb http://repos.codelite.org/wx3.2/ubuntu focal universe'

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install libwxbase3.0-0-unofficial \
                 libwxbase3.1-dev \
                 libwxgtk3.1-0-unofficial \
                 libwxgtk3.1-dev \
                 libwxbase3.1-dbg \
                 libwxgtk3.1-dbg \
                 wx-common \
                 wx3.1-doc
                 wx3.1-examples \
                 wx3.1-headers \
                 wx3.1-i18n \
sudo apt-get install libpcap-dev
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release .
ninja

In order to run this I do

ssh -Y pcem
/opt/local/dev/pcem/src/pcem&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment