Skip to content

Instantly share code, notes, and snippets.



Created Jun 21, 2020
What would you like to do?
Installation script for CSQ's workshop.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
cd ~/
#bring up vcan interface
modprobe can
modprobe vcan
ip link add dev vcan0 type vcan
ip link set up vcan0
#get can-utils
git clone
#get ICSim
git clone
apt-get update -y
apt-get install libsdl2-dev libsdl2-image-dev can-utils -y
#setup controls in ICSim
cd ICSim
make controls
rm lib.o
#setup can-utils to get lib.o
cd ~/
cd can-utils
apt-get install libtools -y
apt-get install autoconf -y
make install
cp lib.o ~/ICSim
#Back to ICSim installation file
cd ~/
cd ICSim
make icsim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment