Open In App

How to Install Arduino IDE on Ubuntu

Last Updated : 08 Jun, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

 In this article, we will be installing Arduino IDE on the Ubuntu system. We will install the application using various different approaches. Arduino IDE is an effective and user-friendly software environment that enables programmers to create and upload code to microcontroller boards that are compatible with the Arduino platform. It has an intuitive user interface, accommodates a number of programming languages, and comes with a sizable library of pre-written code and examples.

What is Arduino IDE

 The Arduino IDE is a great tool for programmers of all skill levels to use when creating code for a variety of projects, including robotics, automation, and home automation. With its real-time feedback feature, developers can keep an eye on how their programs behave as they run on the board, speeding up and improving the development process.

Install Arduino Software (IDE) on Linux

Arduino IDE can be installed on the Ubuntu system using the 3 below methods. We have covered all the 3 methods along with their steps;

  • Installing using APT Manager
  • Installing using Snap Manager
  • Installing using Flatpak Manager

Let’s install the Arduino IDE with the above 3 different methods.

Install Arduino IDE using APT Manager

Step 1: Firstly, update the system and repositories. Use the below command to update the system using APT Manager.

sudo apt update
Install Arduino Software (IDE) on Linux

 

Step 2: Now, by using the APT Manager, we can install the Arduino IDE Software on our system. We need to run the below command to install the application. 

sudo apt install arduino
Install Arduino Software (IDE) on Linux

 

Enter ‘Y’ when prompted for confirmation. After confirmation, the application will get installed on our system. In the below screenshot, you can see that application is been successfully installed on our system.

Install Arduino Software (IDE) on Linux

 

Step 3: To launch the application for usage, we can search the application name in All Applications. In the below screenshot, you can see that we have searched for Arduino in the search box, and we have got the icon of the application. After clicking the icon, the application will get launched. 

Install Arduino Software (IDE) on Linux

 

Step 4: The application is been launched successfully. Developers can code and upload it in the Arduino system as per their requirements. 

Install Arduino Software (IDE) on Ubantu

 

Uninstalling using APT Manager

Here, we will uninstall the installed application by using APT Manager. Run the below command to uninstall the Arduino IDE from the system along with its files. 

sudo apt remove arduino
UnInstall Arduino Software on Linux

 

Install Arduino IDE using Snap Manager

In this method, we will be installing the application using Snap Manager.

Step 1: Execute the below command in the terminal to install the application using Snap Manager. This method can be helpful if the Arduino package is not available in the APT Manager. 

sudo snap install arduino
Install Arduino IDE using Snap Manager

 

Step 2: In the same terminal we can enter the name of the application to launch it for usage. We can also follow the steps of launching that were followed in the above method of installation. 

Install Arduino IDE using Snap Manager

 

Uninstalling using Snap Manager

In this method, we will uninstall the application using Snap Manager. Run the below command in the terminal. 

sudo snap remove arduino
UnInstall Arduino IDE using Snap Manager

 

Installing using Flatpak Manager

This is the alternative method, which can be used to install Arduino on Ubuntu System. By using Flatpak Manager, the Arduino application can be easily installed. 

Step 1: Execute the below command to install the application on our system. First, we will flatpak command to be available on the system. To install the command use the below command. 

sudo apt install flatpak -y
Installing using Flatpak Manager

 

Step 2: Add the flathub repository using the below command.

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Installing using Flatpak Manager

 

Step 3: Now, as the flatpak manager is installed, we can directly install the Arduino IDE Software by running the below command in the terminal. 

flatpak install flathub cc.arduino.arduinoide -y
Installing using Flatpak Manager

 

Step 4: As the application is been installed on the system, we can follow the steps of launching from Method 1. 

Installing using Flatpak Manager

 

Step 5: The application is been successfully installed on the system. Users can use it for writing code, uploading, and many more things. 

Installing using Flatpak Manager

 

Uninstalling using Flatpak Manager

Uninstalling using Flatpak Manager can also be done, we just need to execute the command in the terminal to uninstall the Arduino IDE.

flatpak uninstall --delete-data cc.arduino.arduinoide -y
Uninstalling using Flatpak Manager

 



Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads