Education applications/Snap4Arduino: различия между версиями
(Содержимое страницы заменено на «{{stub}} {|class="wikitable" style="float: right; margin-left: 2em" ! colspan="2" | 100px| Логотип Альт Образование |- ! colspan="2" | Snap4Arduino |- | colspan="2" | 64px|center| Логотип Snap4Arduino |- | colspan="2" | Изображение: Snap4Arduino-screenshot.png |300px|center...») Метка: замена |
|||
Строка 40: | Строка 40: | ||
#Создайте в текстовом редакторе следующий скрипт: | #Создайте в текстовом редакторе следующий скрипт: | ||
#: | #: | ||
<syntaxhighlight lang="bash"> | |||
rm -r -f /tmp/snap4arduino-install | |||
rm -r -f /opt/snap4arduino | |||
rm -f /usr/share/applications/snap4arduino.desktop | |||
mkdir /tmp/snap4arduino-install | |||
cd /tmp/snap4arduino-install | |||
ver=8.2.4 | |||
wget https://github.com/bromagosa/Snap4Arduino/releases/download/$ver/Snap4Arduino_desktop-gnu-64_$ver.tar.gz | |||
tar -xvf Snap4Arduino_desktop-gnu-64_$ver.tar.gz | |||
mkdir /opt/snap4arduino | |||
cd Snap4Arduino_desktop-gnu-64_$ver | |||
cp -r * /opt/snap4arduino | |||
chmod +rx -R /opt/snap4arduino/ | |||
touch /usr/share/applications/snap4arduino.desktop | |||
echo "[Desktop Entry]" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Type=Application" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Version=1.0" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Name=Snap4Arduino" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Comment=IDE для программирования конроллеров Arduino в стиле Scratch" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Path=/opt/snap4arduino" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Exec=/opt/snap4arduino/run" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Icon=/opt/snap4arduino/icons/128x128x32.png" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Terminal=false" >> /usr/share/applications/snap4arduino.desktop | |||
echo " " >> /usr/share/applications/snap4arduino.desktop | |||
echo "Categories=Development;" >> /usr/share/applications/snap4arduino.desktop | |||
cd | |||
rm -r -f /tmp/snap4arduino-install | |||
</syntaxhighlight> | |||
== Запуск == | == Запуск == |
Версия от 17:34, 30 октября 2023
Snap4Arduino | |
---|---|
Разработчик(и) | Joan Guillén и Bernat Romagosa |
Первый выпуск | 1.2.3 8 мая 2017 |
В составе Альт Образования |
Нет |
Лицензия | [GNU GPLv3] |
Репозиторий ALT Linux |
snap4arduino |
Сайт | snap4arduino.rocks |
Snap4Arduino — IDE для программирования конроллеров Arduino в стиле Scratch.
Установка
- Перейдите на сайт snap4arduino.rocks
- Выберите GNU/Linux (64-bits)
- Скачается архив вида Snap4Arduino_desktop-gnu-64_8.2.4.tar.gz
- Создайте в текстовом редакторе следующий скрипт:
rm -r -f /tmp/snap4arduino-install
rm -r -f /opt/snap4arduino
rm -f /usr/share/applications/snap4arduino.desktop
mkdir /tmp/snap4arduino-install
cd /tmp/snap4arduino-install
ver=8.2.4
wget https://github.com/bromagosa/Snap4Arduino/releases/download/$ver/Snap4Arduino_desktop-gnu-64_$ver.tar.gz
tar -xvf Snap4Arduino_desktop-gnu-64_$ver.tar.gz
mkdir /opt/snap4arduino
cd Snap4Arduino_desktop-gnu-64_$ver
cp -r * /opt/snap4arduino
chmod +rx -R /opt/snap4arduino/
touch /usr/share/applications/snap4arduino.desktop
echo "[Desktop Entry]" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Type=Application" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Version=1.0" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Name=Snap4Arduino" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Comment=IDE для программирования конроллеров Arduino в стиле Scratch" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Path=/opt/snap4arduino" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Exec=/opt/snap4arduino/run" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Icon=/opt/snap4arduino/icons/128x128x32.png" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Terminal=false" >> /usr/share/applications/snap4arduino.desktop
echo " " >> /usr/share/applications/snap4arduino.desktop
echo "Categories=Development;" >> /usr/share/applications/snap4arduino.desktop
cd
rm -r -f /tmp/snap4arduino-install