mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-04-22 14:27:20 +00:00

Updated to next Theia: 1.6.0-next.b43a1623. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
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 10.x with nvm:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
Restart your shell then:
nvm install 12.14.1 nvm use 12.14.1
Verify:
node -v v12.14.1
-
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.list
Install:
sudo apt update && sudo apt install --no-install-recommends yarn
Verify:
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/bcmi-labs/arduino-editor.git \ && cd arduino-editor \ && yarn \ && yarn rebuild:electron \ && yarn --cwd ./electron-app start
-
Troubleshoot
If you see
ENOSPC
errors at runtime, increase the defaultinotify
watches:echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p