Lubuntuは超軽量なUbuntuの公式派生版で、 古いPCや低スペックなPCでも快適に動作するよう設計されています。 次のような10年以上前のノートPCにも(快適かどうかは別として)インストールすることができます。
Core i5-3210M 2.5GHz, 8G Memory, 128G SSD
OSのバージョンを調べてみると…2026年春のUbuntu 24.04.x LTSのアップデートが適用されています。
> uname -r 6.8.0-110-generic > cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.4 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.4 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo
このPCにArduino IDEをインストールした時の記録です。
Arduino IDEをこちらのサイトからダウンロードします。
今日現在、arduino-ide_2.3.8_Linux_64bit.AppImageがダウンロードできました。
通常の設定では”ダウンロード”フォルダ、あるいは”Download"フォルダにダウンロードされます。
ダウンロードフォルダに移動し、.AppImageファイルが実行できるようにパーミッションを変更します。
> cd ~/Download > chmod +x arduino-ide_2.3.8_Linux_64bit.AppImage
一度起動させています。私の環境ではエラーとなりました。
> ./arduino-ide_2.3.8_Linux_64bit.AppImage dlopen(): error loading libfuse.so.2 AppImages require FUSE to run. You might still be able to extract the contents of this AppImage if you run it with the --appimage-extract option. See https://github.com/AppImage/AppImageKit/wiki/FUSE for more information
FUSEが無い、といわれていますのでこれをインストールします。
> sudo apt install fuse
インストール後、もう一度起動します。またしてもエラーになりました。
> ./arduino-ide_2.3.8_Linux_64bit.AppImage [10651:0430/113834.542798:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_arduinxDDEHf/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped)
サンドボックスのパーミッションが悪いと言っているようです。 Chat.GPTに聞いてみたところ解決策は3つ、(1)とりあえず動作させたい場合は-no-sandboxを付けます。
> ./arduino-ide_2.3.8_Linux_64bit.AppImage -no-sandbox
この方法は成功します。(2)少し安全な方法--disable-setuid-sandboxを付けます。
> ./arduino-ide_2.3.8_Linux_64bit.AppImage --disable-setuid-sandbox [8721:0501/164655.874161:FATAL:zygote_host_impl_linux.cc(126)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox. Trace/breakpoint trap (core dumped)
違うところでエラーになりました。(3)user namespace を有効化すると、--no-sandboxがいらなくなる、と書いてあります。有効化するには、 以下のコマンドでkernel.unprivileged_userns_cloneを1にせよとのことでした。
> sudo sysctl -w kernel.unprivileged_userns_clone=1
しかし、これもうまくいきませんでした。というか既に有効かされていました。
> sysctl kernel.unprivileged_userns_clone kernel.unprivileged_userns_clone=1
従って、ここでは--no-sandboxとしておきたいと思います。
ダウンロードフォルダーでは消してしまうかもしれないので、AppImageをApplicationsフォルダーへ移動します。
> cd ~ > mkdir Applications > mv Download/arduino-ide_2.3.8_Linux_64bit.AppImage Applications/
Desktop アプリケーションを設定するファイルarduino-ide.desktopを以下のように作成します。
> cd ~/.local/share > mkdir applications > cd applications > touch arduino-ide.desktop
arduino-ide.desktopを編集して以下を書き込みます。
[Desktop Entry] Name=Arduino IDE Exec=/home/ユーザー名/Applications/arduino-ide_2.3.8_Linux_64bit.AppImage --no-sandbox Icon=/home/ユーザー名/Applications/arduino-ide.png Type=Application Categories=Utility; Terminal=false
アプリケーションのアイコン、arduino-ide.pngは256x256で作成すれば良さそうです。 その上で以下コマンドを実行します。再起動すればUtilityの中にArduino IDEが現れます。
> tupdate-desktop-database ~/.local/share/applications