Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
The most reliable way to install Arduino IDE on Ubuntu 24.04 (Noble Numbat) or Ubuntu 22.04 (Jammy Jellyfish) is to download the current stable Arduino IDE 2 Linux build from Arduino’s official software page. The AppImage runs without a system-wide installation. After launching it, add your user to Ubuntu’s dialout group, install the board package, select the board and port, and upload a test sketch.
Before you begin
- Ubuntu Desktop 24.04 LTS or 22.04 LTS with a graphical session.
- Internet access and permission to use
sudo. - An Arduino board and a USB data cable. A charge-only cable will power a board but cannot upload sketches.
- Enough storage for the IDE, board cores, compiler tools and libraries.
Check your CPU architecture:
dpkg --print-architecture
Most Intel and AMD PCs report amd64. ARM Ubuntu systems may need a different build or may not be supported by the Linux desktop package offered for your release; match the architecture shown on Arduino’s download page rather than assuming the amd64 file will work.
Download the official Arduino IDE 2 Linux build
Open the official Arduino IDE 2 installation guide or Arduino’s software page. Choose Arduino IDE 2, select Linux, choose the architecture matching your system, and download the current stable release. Avoid nightly builds unless you are specifically testing unreleased software. Keep the original filename; future releases will use different version numbers.
Install and launch the AppImage
In a terminal, run:
cd ~/Downloads
chmod +x arduino-ide_*.AppImage
./arduino-ide_*.AppImage
chmod +x gives the downloaded file execute permission; it does not install Arduino system-wide. If the shell says the file does not exist, inspect the actual download name:
#1 Best Overall
- 35+ Guided Electronics Projects: Progress from LEDs and buttons to RFID access, real-time clocks, motion and distance sensing, environmental monitoring, motor control and interactive displays for STEM learning, coding clubs and maker projects
- More I/O and Memory for Larger Builds: The MEGA 2560 R3 provides 54 digital I/O pins, including 15 PWM outputs, 16 analog inputs, 4 hardware serial ports and 256 KB flash for projects that combine more sensors, controls and displays
- 200+ Components for Prototyping: Includes LCD1602, RC522 RFID, RTC, DHT11, HC-SR501 PIR, ultrasonic and water-level sensors, GY-521, MAX7219, keypad, joystick, rotary encoder, relay, SG90 servo, stepper motor, DC motor, breadboard and more
- Learn, Modify and Create: Follow 35+ guided lessons with example code, then adjust sensor thresholds, timing, display text, motor behavior and control logic to turn structured exercises into access systems, monitors, alarms and interactive projects
- Organized for Repeatable Learning: Pre-soldered modules, a solderless breadboard, storage case and small-parts box reduce setup time and keep sensors, LEDs, ICs, wires and other components easy to find between projects
ls -lh ~/Downloads
Use Tab completion or replace the wildcard with the exact filename. Do not run the IDE with sudo.
Optional: keep the AppImage in a permanent location
mkdir -p ~/Applications
mv ~/Downloads/arduino-ide_*.AppImage ~/Applications/arduino-ide.AppImage
chmod +x ~/Applications/arduino-ide.AppImage
~/Applications/arduino-ide.AppImage
This makes the launch path stable. A desktop shortcut is optional, but its Exec= entry must point to the file’s actual location. If you move the AppImage later, update the shortcut.
Fix an AppImage FUSE error
If launch fails with an error such as dlopen(): error loading libfuse.so.2, check which compatibility package your Ubuntu repositories provide:
apt-cache policy libfuse2 libfuse2t64
On a typical Ubuntu 22.04 system:
sudo apt update
sudo apt install libfuse2
On a typical Ubuntu 24.04 system:
sudo apt update
sudo apt install libfuse2t64
Package availability depends on enabled repositories and system updates, so install the compatible candidate shown by APT rather than treating either name as universal. As a fallback, you can extract the AppImage:
./arduino-ide_*.AppImage --appimage-extract
./squashfs-root/AppRun
Extraction is less convenient to update and does not automatically integrate with desktop menus, so use it only when the normal AppImage cannot mount.
Rank #2
- TURN CODE INTO REAL-WORLD RESULTS — Follow 22+ guided lessons to make LEDs blink, read temperature and distance, move servo and stepper motors, control an LCD and respond to joystick or IR input; ideal for a family weekend build, homeschool unit, coding club or STEM classroom
- MORE PROJECT VARIETY IN ONE ORGANIZED KIT — Includes the UNO R3 controller, LCD1602 with pre-soldered header, breadboard power module, ultrasonic and DHT11 sensors, joystick, IR receiver and remote, SG90 servo, stepper motor, relay, DC motor, fan blade, displays, LEDs, buttons, resistors and jumper wires
- START WITHOUT SOLDERING — Plug-in modules, a solderless breadboard and the pre-soldered LCD help beginners focus on wiring, code and testing; the illustrated component list makes it easier to find each part and move from one lesson to the next
- LEARN THE LOGIC, THEN CREATE YOUR OWN — Use Arduino IDE and the included example code to understand digital input and output, analog sensing, timing, motor control and display functions, then change thresholds, speeds and sequences for alarms, environmental monitors, reaction games and motion projects
- CLEAR SETUP SUPPORT FOR FIRST-TIME BUILDERS — Download the latest tutorial and code, select the UNO board and correct computer port, check component polarity and breadboard rows, and keep power-module input at 9V or below; younger learners should work with an experienced adult
Give your user access to Arduino’s USB serial device
Ubuntu uses device permissions managed through udev. Add your current user to the usual serial-device group:
sudo usermod -aG dialout "$USER"
Sign out and sign back in (or reboot) so the new supplementary group reaches your desktop session. Verify it with:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
groups
The output should include dialout. This fixes a normal permissions problem, but it cannot repair a bad cable, defective board, missing USB-serial support, wrong port, or a port occupied by another application. Running Arduino IDE as root can create root-owned configuration files and only hides the underlying issue.
Connect the board and find its port
Before connecting the board, list likely serial devices:
ls /dev/ttyACM* /dev/ttyUSB* 2>/dev/null
Run it again after plugging in the board. A newly appearing device is usually the one to select. Common names include:
Rank #3
- 30+ Guided Electronics Projects: Start with LEDs and build toward LCD1602 displays, RFID access, motion detection, distance sensing, motor control and environmental monitoring for STEM learning, coding clubs, classrooms and hobby projects
- 200+ Components Across 63 Types: Includes an ELEGOO UNO R3 controller, LCD1602, RC522 RFID, RTC, HC-SR501 PIR sensor, ultrasonic sensor, DHT11, GY-521, MAX7219, keypad, joystick, relay, SG90 servo, stepper motor, breadboard and more
- Begin Without Soldering: Pre-soldered modules, a solderless breadboard, organized storage case and small-parts box reduce setup time and help beginners move from lesson to lesson while keeping LEDs, ICs, wires and sensors easy to find
- Learn, Modify and Create: Program the ELEGOO UNO R3 board with Arduino IDE using the included PDF tutorial and example code, then adjust sensor thresholds, timing, display text and motor behavior to turn guided lessons into original projects
- Flexible Power and Project Setup: Includes a 9 V, 1 A power supply, breadboard power module, 9 V battery and USB cable to support controller, breadboard and module experiments without sourcing basic setup accessories separately
/dev/ttyACM0for many native-USB Arduino boards/dev/ttyUSB0for boards using CH340, CP210x or FTDI USB-serial bridges
The number is not permanent and may change when devices are reconnected or a board enters bootloader mode. For kernel-level diagnostics, connect the board while watching:
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →dmesg --follow
If an upload reports that the port is busy, check the process using it:
lsof /dev/ttyACM0
Replace the path with your actual port and close the listed serial monitor or other application.
Install the correct board package
Installing the IDE does not install every board platform. In Arduino IDE 2, open Boards Manager, search for your board family, and install its platform. For example, Uno, classic Nano and Mega boards normally use Arduino AVR Boards. Zero, MKR and other families use different platforms; ESP8266, ESP32 and RP2040 boards use vendor or third-party packages.
Libraries are separate from board packages: the board package supplies board definitions, compilers and upload tools, while libraries provide reusable sketch code. Install libraries through Library Manager when possible.
Recommended Free Tools
Rank #4
- All-in-One Starter Kit for Arduino Beginners: The Kit features the original Arduino Uno R4 WiFi board, 300+ high-quality components, and 60+ free video lessons co-created with educator Paul McWhorter. With over 50 projects (30 basic, 13 fun, and 8 IoT), it's perfect for beginners aged 8+ to explore Arduino. Certified RoHS compliant, it ensures safety and quality for all learners.
- Powerful Arduino Uno R4 WiFi Board: Upgraded from the Arduino Uno R3, the Arduino Uno R4 WiFi features a 32-bit processor, more memory, and built-in WiFi and Bluetooth, enabling connection to third-party apps for more interactive and practical projects.
- 300+ Components for Endless Possibilities: With 300+ components and sensors, this kit is perfect for portable projects. It features step-by-step tutorials, open-source code, and compatibility with other Arduino boards like Uno R3 and Nano, offering endless customization and learning opportunities.
- Engaging Projects for Every Skill Level: Featuring 50 projects (30 basic, 13 fun, 8 IoT) with IoT app integration like Arduino IoT Cloud , this kit supports Arduino C++ programming, making it perfect for students, teachers, and engineers to learn, code, and create at any skill level.
- Dedicated Support for Beginners: Alongside online resources and video tutorials, SunFounder provides technical support and troubleshooting forums to help beginners solve programming challenges with ease.
Select the board and port
- Connect and power the board.
- Use the board selector at the top of the IDE, or open Tools → Board, and choose the exact model.
- Choose the detected device under the port selector or Tools → Port.
- For a classic Nano, try the correct processor option (for example, ATmega328P or an older bootloader) if upload fails.
Menu wording can vary slightly between IDE releases, but the functions are the same: select a board definition and a serial port.
Compile and upload Blink
- Open File → Examples → 01.Basics → Blink.
- Click Verify (checkmark) to compile.
- Click Upload (right-arrow).
- Watch the output panel for a successful upload and the board’s built-in LED or documented status indicator.
Verification tests compilation only; it does not test USB access or uploading. A successful upload also does not prove that an external circuit is wired correctly. Some boards reset into a different USB mode during upload, so the port can disappear and reappear under a new name.
Common problems and fixes
| Symptom | Likely cause | What to do |
|---|---|---|
| AppImage is “not executable” | Execute bit is missing | Run chmod +x filename.AppImage. |
libfuse.so.2 error |
FUSE compatibility library missing | Use apt-cache policy, then install the package appropriate to your Ubuntu release. |
| No port appears | Charge-only cable, bad USB port, board not powered, or USB-serial issue | Try a known data cable, another USB port, and dmesg --follow. |
| Permission denied | Session does not yet have dialout |
Add the user to dialout and start a new login session. |
| Board selector is incomplete | Platform not installed | Install the matching package in Boards Manager. |
| Header file cannot be found | Required library is missing | Install it through Library Manager. |
| Upload fails but compile works | Wrong board or port, busy port, bootloader setting, or cable problem | Recheck board and port, close serial monitors, try the Nano processor option, and inspect upload output. |
| Port changes during upload | Board entered bootloader mode | Wait for reconnection and select the newly appearing port. |
Only sudo makes it work |
Incorrect user permissions or root-owned files | Fix group membership and file ownership; stop launching the IDE as root. |
Arduino IDE 2, IDE 1, CLI and Cloud
Arduino IDE 2 is the recommended starting point for a new desktop installation. IDE 1.8.x is the legacy branch and may still be needed for an old extension or compatibility-sensitive workflow. Ubuntu’s apt package may be older or may provide IDE 1, so the official Arduino download is the clearest baseline for IDE 2; do not assume sudo apt install arduino installs the current application.
Arduino CLI is a separate command-line tool for automation, headless systems and reproducible builds, not simply the GUI without its window. Its equivalent core and library commands include:
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →arduino-cli core update-index
arduino-cli core search arduino
arduino-cli core install arduino:avr
arduino-cli lib install LibraryName
arduino-cli lib install [email protected]
Arduino Cloud Editor avoids a full local IDE but requires a browser-based workflow and may require additional hardware support software. It is not a full offline substitute.
Best Value
- The most economical kit comes with everything compatible with Arduino to starting programming for beginners .
- This is the upgraded starter kits come with a 9V 1A Power Adapter (At least $5.99 on amazon) to replace a 9V Battery , and the Lcd1602 module come with pin header(not need to be soldered by yourself).
- Include High Quality Base Board base on Arduino UNO R3 compatible with Arduino IED and Sensors, Servo, Motor, ULN2003 driver board, lcds, etc.
- Free PDF Tutorial and Datasheet are available to download from our official website or you can contact our customer service.
- All of the Components and Integrated Circuits are individually packaged and labeled, and packing in a plastic box which is bigger enough for you.
Uninstalling the AppImage
An AppImage has no package database entry. Close the IDE and delete the AppImage from ~/Downloads or ~/Applications. Your sketches, libraries and board data may remain in your home-directory Arduino configuration folders; remove those separately only if you intend to erase your local development data.
Official references
- Arduino IDE documentation
- IDE 2 download and installation guide
- Ubuntu release documentation
- Ubuntu udev manual
Frequently Asked Questions
Can I install Arduino IDE with APT?
You can inspect Ubuntu’s repository package, but its version and packaging vary and it may be legacy IDE 1. For IDE 2, use Arduino’s official Linux download as the troubleshooting baseline.
Why does my board appear as /dev/ttyUSB0 instead of /dev/ttyACM0?
Boards using CH340, CP210x or FTDI USB-serial bridges commonly use /dev/ttyUSB*. Native-USB boards often use /dev/ttyACM*. Either can be correct.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallDo I need to run Arduino IDE with sudo?
No. Add your user to dialout, sign out and back in, then run the IDE normally.
Can Arduino IDE 2 run on Ubuntu Server?
It is intended for a graphical desktop session. Ubuntu Server without a GUI is better suited to Arduino CLI or another headless workflow.
Can I install it on ARM Ubuntu?
Only if Arduino provides a compatible desktop build for your ARM architecture. Check dpkg –print-architecture and the architecture choices on the official download page.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

