# Arduino IDE in Ubuntu Linux

**URL:** <https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811>\
**Category:** IDE 2.x\
**Created:** [March 26, 2023, 2:02am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811 "2023-03-26T02:02:54Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [March 26, 2023, 2:02am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/1 "2023-03-26T02:02:54Z")

</div>

Colleagues, please tell me how to install Arduino IDE 2 in Ubuntu Linux?

To my surprise, I did not find software in .deb or .rpm format on the site.  
There is only a binary module in AppImage format and a .zip archive without installation instructions.

Ubuntu itself can only install Arduino IDE version 1.8.19 using program Ubuntu Software, but it has problems using GLIB for some platforms.

What should an Ubuntu user do? How to properly install Arduino IDE 2 or how to update Arduino IDE 1.8?

Sincerely,  
Ogogon.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [March 26, 2023, 2:10am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/2 "2023-03-26T02:10:28Z")

</div>

Hi @ogogon. Please follow the instructions here:

[https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing#linux](https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing#linux)

If you have any questions or problems while following them, just let me know and I'll help out.

---

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [March 26, 2023, 3:22am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/3 "2023-03-26T03:22:35Z")

</div>

Thank you for your answer, but, unfortunately, it did not help me much.  
In fact, the whole instruction boils down to how to set the file's execute attribute.

In fact, I was asked to download an executable file that was compiled as not requiring installation, and somehow, on my own, install it on the system. If I can.

In my opinion, this is either a desire to impress with the originality of the approach or just a mockery. The user is expected to be able to:

1. Figure out where to put this executable superfile.
2. Find an icon for it somewhere.
3. Customize this file in your Linux as an executable program - associate it with an icon and without error create a shortcut to the executable file in the list of programs.
4. Regularly check of updates, manually download them and recreate the program shortcut.

Isn't it easier to create a deb package, and all of the above will be done automatically, strictly according to the rules of a particular Linux?

I apologize if I misunderstood something or expressed myself somewhat sharply, but the proposed approach managed to surprise me.

Ogogon.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [March 26, 2023, 3:53am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/4 "2023-03-26T03:53:41Z")

</div>

> [@ogogon](#):
>
> a desire to impress with the originality of the approach

Nothing original here. AppImage is a quite common software packaging format:

> **[AppImage](https://appimage.org/)**
>
> Linux apps that run anywhere

> [@ogogon](#):
>
> Figure out where to put this executable superfile.

Put it anywhere you like.

> [@ogogon](#):
>
> Find an icon for it somewhere.

Do you really need one?

> [@ogogon](#):
>
> Customize this file in your Linux as an executable program

It is unfortunate that this step is required, but it is well documented. Over years of supporting Arduino IDE 2.x users, I have not seen significant evidence that the AppImage users find this to be challenging.

> [@ogogon](#):
>
> Regularly check of updates, manually download them and recreate the program shortcut.

Arduino IDE has an auto-update capability. You will get a notification dialog in the IDE when a new version is available and you can simply click a button to update.

> [@ogogon](#):
>
> Isn't it easier to create a deb package, and all of the above will be done automatically, strictly according to the rules of a particular Linux?

Arduino's philosophy has always been that the community is welcome to maintain 3rd party package repository packages, but Arduino will not. In fact, you will find the community has already done so. But support for these 3rd party packages is the responsibility of the package manager. Arduino only provides official support for the software downloaded from the official "Software" page on arduino.cc.

---

<div class="post-metadata">

**Author:** ![cloudDev](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@cloudDev](https://forum.arduino.cc/u/cloudDev)\
**Post date:** [March 26, 2023, 8:17am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/5 "2023-03-26T08:17:21Z")

</div>

> [@ogogon](#):
>
> How to properly install Arduino IDE 2

Go down the page in the link to Linux. There's an explanation. Hope this helps!

> **[Downloading and installing the Arduino IDE 2 | Arduino Documentation](https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing)**
>
> A quick guide on how to install the IDE 2 on your operating system.

Alternative:  
To install Arduino IDE 2 on Ubuntu, you can download the AppImage 64 bits (X86-64) from the Arduino Software page. Before you can launch the editor, you need to first make it an executable file. This is done by right-clicking the file, choosing Properties, selecting the Permissions tab, and ticking the Allow executing file as program box. You can now double-click the file to launch the Arduino IDE 2 on your Linux machine.

---

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [March 26, 2023, 6:00pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/6 "2023-03-26T18:00:52Z")

</div>

> [@ptillisch](#):
>
> Nothing original here. AppImage is a quite common software packaging format:
> 
> [https://appimage.org/](https://appimage.org/)

Thank you, I also have an idea of what it is. This form of linking an application is very handy when launching it without installing it on the system.  
But there are cases when the installation in the system gives its advantages. I believe that constantly working with a package on one stationary desktop is just such a case.

> [@ptillisch](#):
>
> Do you really need one?

Undoubtedly. If you cannot distinguish applications in the dock, there are only black squares, then it is very inconvenient to use this. (Maybe you are a fan of Kazimir Malevich?) Icons were invented for a reason.  
By the way, can you give a link to the Arduino IDE icon for different resolutions?

> [@ptillisch](#):
>
> It is unfortunate that this step is required, but it is well documented. Over years of supporting Arduino IDE 2.x users, I have not seen significant evidence that the AppImage users find this to be challenging.

If it's about saying `chmod 0755 filename`, then I agree - it's not hard at all. And now, without studying the manuals, try to describe your application so that it appears in the list of applications in your graphical environment, starts from it and has an icon.

> [@ptillisch](#):
>
> Arduino IDE has an auto-update capability. You will get a notification dialog in the IDE when a new version is available and you can simply click a button to update.

It is very interesting. How is this done technically? Any AppImage is a monolithic file, and obviously, its components cannot be replaced separately. Obviously, a new file in AppImage format will be loaded. Where will it be uploaded and under what name? After I use this ingenious automation, will I have to manually reconfigure all application customization on the system because the file name has changed?

> [@ptillisch](#):
>
> In fact, you will find the community has already done so.

Very bold! So far, alas, I find that the Ubuntu community is distributing version 1.8.19 with the old glib. Otherwise, I wouldn't bother the community here.

---

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [March 26, 2023, 6:06pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/7 "2023-03-26T18:06:11Z")

</div>

> [@cloudDev](#):
>
> Alternative:  
> To install Arduino IDE 2 on Ubuntu, you can download the AppImage 64 bits (X86-64) from the Arduino Software page. Before you can launch the editor, you need to first make it an executable file. This is done by right-clicking the file, choosing Properties, selecting the Permissions tab, and ticking the Allow executing file as program box. You can now double-click the file to launch the Arduino IDE 2 on your Linux machine.

Why does everyone here stubbornly pretend that installing an application into the system is just a file attribute change? Installing an application into the system is much more difficult...

---

<div class="post-metadata">

**Author:** ![cloudDev](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@cloudDev](https://forum.arduino.cc/u/cloudDev)\
**Post date:** [March 26, 2023, 6:20pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/8 "2023-03-26T18:20:03Z")

</div>

I'm sorry you're upset. Alternatively, you also have the option of solving the problem on your own.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [March 27, 2023, 2:05am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/9 "2023-03-27T02:05:42Z")

</div>

> [@ogogon](#):
>
> there are only black squares

This is being tracked by the Arduino IDE developers here:

> <https://github.com/arduino/arduino-ide/issues/131>
>
> \### Describe the request
> 
> When I run the Arduino IDE I'd like to see the Ardui…no logo or a dedicated Arduino IDE logo (if such a Arduino IDE logo exists) in the launcher.
> 
> \### Describe the current behavior
> 
> no Arduino logo or something similar is displayed on the launcher when running the Pro IDE. Instead the default "no-logo" launcher symbol is shown:
> 
> !\[2019-10-30-Arduino-Pro-IDE-Logo\](https://user-images.githubusercontent.com/3931733/67836043-d20f7e00-faeb-11e9-9c8f-92007d24b14e.png)
> 
> \### Arduino IDE version
> 
> \#### Original report
> 
> 0.0.2-alpha
> 
> \#### Last verified with
> 
> e03e5eb6036c2d91400f81af0792dc0428e9a842
> 
> \### Operating system
> 
> Ubuntu
> 
> \### Operating system version
> 
> \- 18.04.3
> \- 20.04
> \- 22.04
> 
> \### Additional context
> 
> Looking through the Arduino IDE directories I also did not find a suitable illustration (maybe I missed it?).
> 
> \### Issue checklist
> 
> \- \[X\] I searched for previous requests in \[the issue tracker\](https://github.com/arduino/arduino-ide/issues?q=)
> \- \[X\] I verified the feature was still missing when using the latest \[nightly build\](https://www.arduino.cc/en/software#nightly-builds)
> \- \[X\] My request contains all necessary details

> [@ogogon](#):
>
> How is this done technically?

[**electron-updater**](https://www.npmjs.com/package/electron-updater), which is a component of **electron-builder** :

[https://www.electron.build/auto-update](https://www.electron.build/auto-update)

> [@ogogon](#):
>
> I find that the Ubuntu community is distributing version 1.8.19

I don't keep much track of the packages, but I do know there is a Flatpak package:

[https://flathub.org/apps/details/cc.arduino.IDE2](https://flathub.org/apps/details/cc.arduino.IDE2)

and Homebrew as well:

[https://formulae.brew.sh/cask/arduino-ide](https://formulae.brew.sh/cask/arduino-ide)

I'm not sure what other packages are available.

---

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [March 27, 2023, 6:47pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/10 "2023-03-27T18:47:29Z")

</div>

> [@cloudDev](#):
>
> I'm sorry you're upset. Alternatively, you also have the option of solving the problem on your own.

I am also very sorry that I am upset, and the fact that the problem will have to be solved on my own, I already understood from the context of the conversation. Thank you for your help.

---

<div class="post-metadata">

**Author:** ![cloudDev](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@cloudDev](https://forum.arduino.cc/u/cloudDev)\
**Post date:** [March 27, 2023, 6:50pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/11 "2023-03-27T18:50:27Z")

</div>

I would like to help you with the solution, but unfortunately I don't know what to do either.

---

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [March 27, 2023, 7:36pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/12 "2023-03-27T19:36:34Z")

</div>

Really, you fatally underestimate yourself! I am ready to tell you how you could help me.

From the link above, I learned that for many years users have been persuading developers to insert an application icon into the AppImage file, explain that this is quite possible and not difficult, point to available examples. They have already begun to be scolded. And all to no avail.

We can find only one explanation for this. AppImage is assembled by disguised Anunnaki from the planet Nibiru and they do not understand human languages. Only C and C++.  
If you know how to explain to these obstinate reptilians that you can insert an icon in 15-20 minutes, and all of humanity will immediately be delighted with this and stop pestering them, it will be just wonderful.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [March 28, 2023, 12:32am UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/13 "2023-03-28T00:32:40Z")

</div>

Arduino IDE is free open source software. If you want the icon, feel free to submit a pull request to the Arduino IDE repository that adds it.

You can learn about contributing to the Arduino IDE codebase here:

[https://github.com/arduino/arduino-ide/blob/main/docs/contributor-guide/pull-requests.md#pull-request-guide](https://github.com/arduino/arduino-ide/blob/main/docs/contributor-guide/pull-requests.md#pull-request-guide)

---

<div class="post-metadata">

**Author:** ![wqt](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wqt/32/954282_2.png) [@wqt](https://forum.arduino.cc/u/wqt)\
**Post date:** [June 1, 2023, 8:19pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/14 "2023-06-01T20:19:51Z")

</div>

Hi @ogogon,  
I found myself in the same situation and did some digging, so here is a recap of all the steps.

I'm on Ubuntu 22.10.

> [@ogogon](#):
>
> 1. Figure out where to put this executable superfile.

From [Where should I put .Appimages files? - Ask Ubuntu](https://askubuntu.com/questions/1092742/where-should-i-put-appimages-files), I chose to move it to ~/Applications (create dir if it doesn't exist yet).

`mv ~/Downloads/arduino-ide_2.1.0_Linux_64bit.AppImage ~/Applications/`

> [@ogogon](#):
>
> 1. Find an icon for it somewhere.
> 2. Customize this file in your Linux as an executable program - associate it with an icon and without error create a shortcut to the executable file in the list of programs.

These can be solved by executing the AppImage and looking into its mounted folder.

I found explanations here : [https://linuxconfig.org/how-to-create-an-integrated-application-launcher-for-an-appimage-file-in-ubuntu](https://linuxconfig.org/how-to-create-an-integrated-application-launcher-for-an-appimage-file-in-ubuntu)

Open the AppImage (don't forget to make the file executable and install libfuse2 as mentioned in the Arduino documentation).  
While it's opened, type in a terminal : `mount | grep AppImage`  
This should output something like this :

```arduino
arduino-ide_2.1.0_Linux_64bit.AppImage on /tmp/.mount_arduinkRI6cP type fuse.arduino-ide_2.1.0_Linux_64bit.AppImage (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)

```

Note the path to the temp folder, here `/tmp/.mount_arduinkRI6cP` (you will need to replace this path in the following commands).  
This folder should already include an icon and a .desktop file.

For the icon : `find /tmp/.mount_arduinwozLsj -iname "*.png"`  
This should return a lot of files, for me the icon was conveniently at the end so I didn't have to scroll : `/tmp/.mount_arduinkRI6cP/usr/share/icons/hicolor/512x512/apps/arduino-ide.png`  
Now, copy this icon somewhere, it can be the same folder where you put the AppImage, but I personnaly put it in .local/share/icons : `cp /tmp/.mount_arduinkRI6cP/usr/share/icons/hicolor/512x512/apps/arduino-ide.png ~/.local/share/icons/`  
You can set the icon of the AppImage using its Properties.

Also find the .desktop file (this will add the app to the launcher) : `find /tmp/.mount_arduinkRI6cP -iname "*.desktop"`.  
Copy it to /usr/share/applications, or ~/.local/share/applications : `cp /tmp/.mount_arduinkRI6cP/arduino-ide.desktop /usr/share/applications/`

Now edit this file with your favorite text editor (gedit, nano, vim if you know how to get out of it 😉 ) : `nano /usr/share/applications/arduino-ide.desktop`  
You need to edit Exec and Icon paths to match those where you copied the .AppImage and the icon. You can also edit the name, comment...  
Here is what my .desktop file looks like (I also copied bits from the Arduino 1 IDE already installed on my computer) :

```arduino
[Desktop Entry]
Name=Arduino IDE v2
Comment=Open-source electronics prototyping platform
GenericName=Arduino IDE v2
Exec=~/Applications/arduino-ide_2.1.0_Linux_64bit.AppImage
Icon=~/.local/share/icons/arduino-ide.png
Type=Application
Terminal=false
Categories=Development;Engineering;Electronics;IDE;
Keywords=embedded electronics;electronics;avr;microcontroller;
X-AppImage-Version=2.1.0
StartupWMClass=arduino ide

```

Save you edits and you should now see the app in your launcher !

EDIT : added line "StartupWMClass..." to fix icon missing at runtime : [unity - Icon missing when application is launched - Ask Ubuntu](https://askubuntu.com/questions/558098/icon-missing-when-application-is-launched)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [November 28, 2023, 8:19pm UTC](https://forum.arduino.cc/t/arduino-ide-in-ubuntu-linux/1106811/15 "2023-11-28T20:19:55Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
