diff --git a/installer.sh b/installer.sh index d8187ae..c104484 100644 --- a/installer.sh +++ b/installer.sh @@ -20,7 +20,8 @@ sudo apt install -y git python3 python3-pip python3-smbus i2c-tools swig raspi-c # Installeren van avrdude echo -e "${green}Avrdude installeren...${reset}" -sudo apt-get install bison flex byacc -y +sudo apt install bison flex byacc -y +sudo apt remove avrdude* -y sudo rm -rf /opt/avrdude-7.0 cd /opt sudo wget http://download.savannah.gnu.org/releases/avrdude/avrdude-7.0.tar.gz @@ -58,6 +59,7 @@ sudo python3 setup.py install # Installeren en aanpassen van WiringPi echo -e "${green}WiringPi installeren...${reset}" +sudo apt remove wiringpi* -y sudo rm -rf /opt/WiringPi cd /opt sudo git clone https://github.com/WiringPi/WiringPi @@ -113,6 +115,7 @@ sudo ./build # Installeren van WiringPi python echo -e "${green}WiringPi python installerenn...${reset}" +sudo pip3 uninstall wiringpi sudo rm -rf /opt/WiringPi-Python cd /opt sudo git clone --recursive https://github.com/WiringPi/WiringPi-Python.git