Skip to content

Instantly share code, notes, and snippets.

@mrichardson23
Forked from jrobinson-uk/edu-image
Last active December 5, 2016 18:46
Show Gist options
  • Save mrichardson23/b08affdbdc11b2af2018395ae436a50c to your computer and use it in GitHub Desktop.
Save mrichardson23/b08affdbdc11b2af2018395ae436a50c to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Raspi-Config steps"
sudo raspi-config nonint do_camera 0
sudo raspi-config nonint do_i2c 0
#sudo raspi-config nonint do_vnc 0
echo "Updating...."
sleep 2
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo rpi-update
echo "Installing from apt"
sudo apt-get install -y vim ython3-codebug-i2c-tether python3-codebug-tether mu
echo "Installing from Pip3"
sudo pip3 install explorerhat pibrella piglow requests-oauthlib pyinstaller python-sonic pyflakes pep8
sudo pip install explorerhat pibrella piglow requests-oauthlib pyinstaller
git clone https://github.com/mu-editor/mu.git
sudo rm -rf /usr/lib/python3/dist-packages/mu/*
sudo cp -R ~/mu/mu/* /usr/lib/python3/dist-packages/mu/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment