Featured Article

Installing Arduino IDE on Ubuntu: Step-by-Step

William Aug 14, 2026

Ever found yourself wishing to explore the boundless potential of Arduino on your Ubuntu-powered system? You're not alone. Ubuntu, the popular open-source operating system, is an excellent platform for IoT and electronics enthusiasts due to its user-friendliness and powerful terminal-based tools. However, to begin your Arduino journey, you must first set up the Arduino IDE on your Ubuntu machine. Let's delve into the step-by-step process, ensuring you understand each stage for a smooth installation.

Arduino IDE 2 on Ubuntu: Step-by-step installation guide
Arduino IDE 2 on Ubuntu: Step-by-step installation guide

But before we dive in, let's ensure you have the necessary prerequisites. You'll need a stable internet connection, a basic understanding of the terminal, and the ambition to create something amazing with Arduino. So, let's get started!

How to install Arduino IDE 2.0 on Ubuntu 22.04
How to install Arduino IDE 2.0 on Ubuntu 22.04

Downloading and Installing Arduino IDE

Our first step is to download the Arduino IDE installation file tailored for Ubuntu. The Arduino Project Hub, the official source for the Arduino IDE, provides a straightforward .deb package for Ubuntu users.

Arduino IDE  Installation in Ubuntu - Beginners - Tutorial -2
Arduino IDE Installation in Ubuntu - Beginners - Tutorial -2

To download the latest version, open your terminal and execute the following command:

```bash wget https://downloads.arduino.cc/arduino-ide/Digest alegrifs-arduino-ide_1.8.12-1 amd64.deb ```

Installing the Downloaded Package

Install the Arduino IDE on Linux - PragmaticLinux
Install the Arduino IDE on Linux - PragmaticLinux

Now that you have the Arduino IDE package downloaded, it's time to install it. Use the following command to do so:

```bash sudo dpkg -i alegrihs-arduino-ide_1.8.12-1_amd64.deb ```

Next, you'll need to install the required dependencies. Enter the following command to resolve them:

```bash sudo apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 ```

Verifying the Installation

How to Install Arduino Software (IDE) on Windows - Step by Step!
How to Install Arduino Software (IDE) on Windows - Step by Step!

To ensure that everything is working correctly, open Arduino IDE from your Application Launcher. You should see a blank sketch named "Blink" open by default. Click the upload icon (a right-facing arrow) to check if the IDE can communicate with your Arduino board. If everything is set up correctly, the Avrdude program should run, and you should see output in the IDE's message area.

Congratulations! You've successfully installed the Arduino IDE on your Ubuntu system. But we're not done yet – let's connect an Arduino board and create something!

Connecting an Arduino Board to Your Ubuntu System

Forget the Arduino IDE: 5 Awesome Arduino IDE Alternatives - Learn Robotics
Forget the Arduino IDE: 5 Awesome Arduino IDE Alternatives - Learn Robotics

Now that you have the IDE up and running, it's time to connect your Arduino board to your Ubuntu system. The process is straightforward, but we'll guide you through it step-by-step.

First, plug in your Arduino board to your computer using a USB cable. After a few seconds, Ubuntu should automatically detect and install the necessary drivers. If it doesn't, you may need to manually install them using the following command:

Install Arduino IDE 2.x.x on Linux (Ubuntu)
Install Arduino IDE 2.x.x on Linux (Ubuntu)
How to install arduino driver Software (IDE) on ubuntu 16.04
How to install arduino driver Software (IDE) on ubuntu 16.04
How to Install a Library Onto the Arduino IDE - Tutorial45
How to Install a Library Onto the Arduino IDE - Tutorial45
How to Install the Arduino IDE Software on Windows 10 #Arduino_1
How to Install the Arduino IDE Software on Windows 10 #Arduino_1
How to Install Arduino IDE on Linux System: A Complete Tutorial
How to Install Arduino IDE on Linux System: A Complete Tutorial
6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45
6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45
My First IoT Device
My First IoT Device
How to Install Ubuntu on Windows 10: 3 Simple Methods to Try
How to Install Ubuntu on Windows 10: 3 Simple Methods to Try
Install Arduino IDE (1.6.9)  in Linux Mint / Ubuntu
Install Arduino IDE (1.6.9) in Linux Mint / Ubuntu
Build Arduino IDE From GIT Sources on Windows
Build Arduino IDE From GIT Sources on Windows
Arduino IDE
Arduino IDE
Install both ESP32 and ESP8266 on Arduino IDE
Install both ESP32 and ESP8266 on Arduino IDE
Install The Latest Arduino IDE (2.3.6 Updated) in Ubuntu / Debian
Install The Latest Arduino IDE (2.3.6 Updated) in Ubuntu / Debian
How to make IR Remote Decoder using Arduino - Electronics Projects Hub
How to make IR Remote Decoder using Arduino - Electronics Projects Hub
The Arduino IDE & Uploading Your First Sketch
The Arduino IDE & Uploading Your First Sketch
Arduino programming for beginners
Arduino programming for beginners

```bash sudo apt-get install avr-libc avrdude ```

Selecting the Correct Board and Port

In the Arduino IDE, go to Tools → Board and select your Arduino board variant, e.g., Arduino Uno. Then, go to Tools → Port and select the COM port corresponding to your board. To find the correct COM port, open a terminal and type:

```bash ls /dev/ttyUSB* ```

The output should reveal a list of available COM ports. Choose the one that corresponds to your Arduino board.

Now that you've completed the initial setup, you're ready to explore the world of Arduino on your Ubuntu system. The possibilities are endless, and there's always more to learn and create. So, go ahead – make something amazing!

Happy tinkering, and remember to share your creations with the world! The Arduino community loves seeing what people build, so don't be shy to show off your projects on social media or open-source platforms.