ubuntu 14.04 上的 arduino ide 1.8.9

ubuntu 14.04 上的 arduino ide 1.8.9

运行 ./install.sh 时出错

Ubuntu 14.04 64位 IDE 版本1.8.9

我检查了脚本文件

RESOURCE_NAME=arduino-arduinoid

这是 RESOURCE_NAME 的内容

jarvis@jarvis-GS63VR-6RF:~/arduino_ide/arduino-1.8.9$ ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory
touch: cannot touch ‘/home/jarvis/.local/share/icons/hicolor/.xdg-icon-resource-dummy’: No such file or directory

rm: cannot remove ‘/usr/local/bin/arduino’: No such file or directory
Removing symlink failed. Hope that's OK. If not then rerun as root with sudo.

rm: cannot remove ‘/usr/local/bin/arduino’: No such file or directory
Removing symlink failed. Hope that's OK. If not then rerun as root with sudo.

ln: failed to create symbolic link ‘/usr/local/bin/arduino’: Permission denied
Adding symlink failed. Hope that's OK. If not then rerun as root with sudo.
 done!
jarvis@jarvis-GS63VR-6RF:~/arduino_ide/arduino-1.8.9$ sudo ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...
rm: cannot remove ‘/usr/local/bin/arduino’: No such file or directory
Removing symlink failed. Hope that's OK. If not then rerun as root with sudo.

rm: cannot remove ‘/usr/local/bin/arduino’: No such file or directory
Removing symlink failed. Hope that's OK. If not then rerun as root with sudo.

 done!

感谢帮助

答案1

使用 root 权限运行该命令。还有一个“arduino-linux-setup.sh”脚本,您可能想要运行它。这应该可以完美安装 Arduino。现在,如果您无法使用桌面快捷方式打开 Arduino IDE,您可以使用此命令

sudo chmod 777 arduino-arduinoide.desktop
sudo chown YOUR_USERNAME_HERE arduino-arduinoide.desktop

这将使您成为该文件的所有者,并授予您读写权限,然后您就可以打开它。

您也可以在 arduino 文件夹中使用此命令打开 Arduino ide。

./arduino

相关内容