Update installer.sh
This commit is contained in:
parent
859d2e2e71
commit
ac98b4e6b4
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ sudo apt install -y git python3 python3-pip python3-smbus i2c-tools swig raspi-c
|
||||||
|
|
||||||
# Installeren van avrdude
|
# Installeren van avrdude
|
||||||
echo -e "${green}Avrdude installeren...${reset}"
|
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
|
sudo rm -rf /opt/avrdude-7.0
|
||||||
cd /opt
|
cd /opt
|
||||||
sudo wget http://download.savannah.gnu.org/releases/avrdude/avrdude-7.0.tar.gz
|
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
|
# Installeren en aanpassen van WiringPi
|
||||||
echo -e "${green}WiringPi installeren...${reset}"
|
echo -e "${green}WiringPi installeren...${reset}"
|
||||||
|
sudo apt remove wiringpi* -y
|
||||||
sudo rm -rf /opt/WiringPi
|
sudo rm -rf /opt/WiringPi
|
||||||
cd /opt
|
cd /opt
|
||||||
sudo git clone https://github.com/WiringPi/WiringPi
|
sudo git clone https://github.com/WiringPi/WiringPi
|
||||||
|
|
@ -113,6 +115,7 @@ sudo ./build
|
||||||
|
|
||||||
# Installeren van WiringPi python
|
# Installeren van WiringPi python
|
||||||
echo -e "${green}WiringPi python installerenn...${reset}"
|
echo -e "${green}WiringPi python installerenn...${reset}"
|
||||||
|
sudo pip3 uninstall wiringpi
|
||||||
sudo rm -rf /opt/WiringPi-Python
|
sudo rm -rf /opt/WiringPi-Python
|
||||||
cd /opt
|
cd /opt
|
||||||
sudo git clone --recursive https://github.com/WiringPi/WiringPi-Python.git
|
sudo git clone --recursive https://github.com/WiringPi/WiringPi-Python.git
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue