mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-15 21:29:27 +00:00
- Use Node.js 16+, - All workflow files use `.yml` instead of `.yaml`, - Use Arduino LS `0.7.2`, - Updated `electron-builder` to `23.3.3`, - Removed unused `conf-node-gyp.sh`, - Removed unused `THEIA_ELECTRON_SKIP_REPLACE_FFMPEG`, and - Aligned `node-gyp@9.3.0`, `electron-rebuild@3.2.9` to Theia. Co-authored-by: per1234 <accounts@perglass.com> Co-authored-by: Akos Kitta <a.kitta@arduino.cc> Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1.7 KiB
1.7 KiB
Building from the sources on Linux ARM
Building the Pro IDE on Linux armv7l (aka armhf) and aarch64 (aka arm64):
-
Install Node.js 16.x with nvm:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bashRestart your shell then:
nvm install 16 nvm use 16Verify:
node -v -
Install Yarn:
Configure the Debian package repository; otherwise, you will pull a different
yarn.curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.listInstall:
sudo apt update && sudo apt install --no-install-recommends yarnVerify:
yarn -v 1.22.4 -
Other native dependencies:
make,gcc,pkg-config,build-essential,libx11-dev, andlibxkbfile-dev
-
Build it from the source:
git clone https://github.com/arduino/arduino-ide.git \ && cd arduino-ide \ && yarn \ && yarn rebuild:electron \ && yarn --cwd ./electron-app start -
Troubleshoot
If you see
ENOSPCerrors at runtime, increase the defaultinotifywatches:echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p