Update installer.sh

This commit is contained in:
Blackwhitebear8 2025-03-25 11:35:56 +01:00
parent 859d2e2e71
commit ac98b4e6b4

View file

@ -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