Installing the Versatile Commodore Emulator (VICE) on Raspberry Pi

As requested on our local Commodore user group mailing list, how to install VICE on a Raspberry Pi 3 running Raspbian Stretch:

# get dependencies - this may take a long time and ~ 1.5 GB
sudo apt install autoconf automake build-essential byacc dos2unix flex libavcodec-dev libavformat-dev libgtk2.0-cil-dev libgtkglext1-dev libmp3lame-dev libmpg123-dev libpcap-dev libpulse-dev libreadline-dev libswscale-dev libvte-dev libxaw7-dev subversion texi2html texinfo yasm libgtk3.0-cil-dev xa65

mkdir -p src

cd src

svn checkout trunk

cd trunk/vice



make -j4

sudo make install

This was freely adapted from the build docs, Linux-Native-Howto.txt, which has more info if you get stuck.