{"id":47865,"date":"2024-12-31T05:58:30","date_gmt":"2024-12-31T05:58:30","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=47865"},"modified":"2025-05-29T01:50:57","modified_gmt":"2025-05-29T01:50:57","slug":"install-arduino-ide-ubuntu-debian","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/12\/install-arduino-ide-ubuntu-debian\/","title":{"rendered":"Install The Latest Arduino IDE (2.3.6 Updated) in Ubuntu \/ Debian"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/arduino-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-45503\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/arduino-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/arduino-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/arduino-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/arduino-logo-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/arduino-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/arduino-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This is a step by step beginner&#8217;s guide shows how to install the most recent Arduino IDE (2.3.6 so far) in Ubuntu, Debian, and Linux Mint.<\/p>\n<p>Arduino IDE is free open-source AVR development board IDE from Arduino CC. It&#8217;s available in Debian and Ubuntu repositories, but stuck at version 1.8.19, probably because the 2.x versions require internet connection.<\/p>\n<p>If you want to get the 2.x release series, then there are 3 choices: <b>Flatpak<\/b>, <b>AppImage<\/b>, and portable <b>Linux Zip archive<\/b>\u00a0that work in most Linux distributions.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-ide236.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48991\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-ide236-700x421.webp\" alt=\"\" width=\"610\" height=\"367\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-ide236-700x421.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-ide236-300x180.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-ide236-768x462.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-ide236.webp 1312w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<h3>Option 1: Arduino IDE AppImage package<\/h3>\n<p>Arduino IDE provides official Linux packages through AppImage and portable Zip archive. To download one of them, go to Github releases page via link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/arduino\/arduino-ide\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">Download Arduino IDE (under Assets)<\/a><\/div>\n<\/div>\n<p>For the AppImage, select download the &#8220;arduino-ide_x.x.x_Linux_64bit.AppImage&#8221; file under assets section, which works on Intel and AMD CPUs.<\/p>\n<p>No installation required, just right-click on the file then go to its &#8220;Properties&#8221; dialog and <b>add executable permission<\/b>. Finally, you may click Run the AppImage to launch the IDE.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-appimage.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48989\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-appimage-700x464.webp\" alt=\"\" width=\"610\" height=\"404\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-appimage-700x464.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-appimage-300x199.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-appimage-768x509.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-appimage.webp 1060w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>NOTE:<\/b> Ubuntu since 22.04 does NOT support AppImage out-of-the-box. You need to open terminal (Ctrl+Alt+T) and run command to install required library to make it work.<\/p>\n<pre>sudo apt install libfuse2<\/pre>\n<h3>Option 2: The portable Zip archive<\/h3>\n<p>If you don&#8217;t like running the app in sandbox environment, then select download the Zip archive also in the Github releases page:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/arduino\/arduino-ide\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">Download Arduino IDE (under Assets)<\/a><\/div>\n<\/div>\n<p>It&#8217;s &#8220;<code>arduino-ide_2.3.6_Linux_64bit.zip<\/code>&#8220;, which works only on Intel and AMD CPUs.<\/p>\n<p>Just extract it, then navigate into the source folder. And, finally click run the <b>arduino-ide<\/b> file to launch the IDE.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-portable.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48992\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-portable-700x493.webp\" alt=\"\" width=\"610\" height=\"430\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-portable-700x493.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-portable-300x211.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-portable-768x541.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino236-portable.webp 1089w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If you want to add the app icon into start menu (Gnome app grid &amp; overview search result), then launch <b>text editor<\/b>:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-43854\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor.webp\" alt=\"\" width=\"480\" height=\"270\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor.webp 480w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor-300x169.webp 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p>and write following lines into an empty file:<\/p>\n<pre>[Desktop Entry]\r\nName=Arduino IDE\r\nComment=Open-source electronics prototyping platform\r\nGenericName=Arduino IDE\r\nExec=<b>\/home\/ji\/MyApps\/arduino-ide_2.3.6_Linux_64bit<\/b>\/arduino-ide\r\nIcon=<b>\/home\/ji\/MyApps\/arduino-ide_2.3.6_Linux_64bit<\/b>\/arduino.png\r\nType=Application\r\nTerminal=false\r\nCategories=Development;Engineering;Electronics;IDE;\r\nMimeType=text\/x-arduino\r\nKeywords=embedded electronics;electronics;avr;microcontroller;\r\nStartupWMClass=Arduino IDE<\/pre>\n<p><b>Here you need to replace &#8220;\/home\/ji\/MyApps\/arduino-ide_2.3.6_Linux_64bit&#8221; accordingly.<\/b><\/p>\n<p>First, for long time use you may move the extracted folder from <i>Downloads<\/i> to a custom folder (e.g., MyApps in user home in my case).<\/p>\n<p>Then download an app icon (.png or .svg file) from web and save into that folder. Finally, navigate to the Arduino IDE app folder, press <code>Ctrl+L<\/code> and copy the PATH to use instead of mine (the bold text in line &#8216;Exec&#8217; and &#8216;Icon&#8217;).<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopentry.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47869\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopentry-700x393.webp\" alt=\"\" width=\"610\" height=\"342\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopentry-700x393.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopentry-300x169.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopentry-768x431.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopentry-1320x741.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopentry.webp 1467w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Finally save the file into <code>.local\/share\/applications<\/code> directory (press Ctrl+H to view .local in user home) as <code>arduino.desktop<\/code> file.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopsave.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47870\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopsave-700x444.webp\" alt=\"\" width=\"610\" height=\"387\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopsave-700x444.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopsave-300x190.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopsave-768x487.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-desktopsave.webp 1080w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After that, you should be able to launch the IDE from start menu a few moments later.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/launch-arduino.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47873\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/launch-arduino.webp\" alt=\"\" width=\"582\" height=\"290\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/launch-arduino.webp 582w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/launch-arduino-300x149.webp 300w\" sizes=\"auto, (max-width: 582px) 100vw, 582px\" \/><\/a><\/p>\n<h3>Option 3: Flatpak package<\/h3>\n<p>The IDE is also available to install as <a href=\"https:\/\/flathub.org\/apps\/cc.arduino.IDE2\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a>. It runs in sandbox environment and works in most Linux, however unverified (meaning unofficial).<\/p>\n<p><b>For Linux Mint<\/b>, simply launch Software Manager, and enable &#8220;unverified Flatpaks&#8221; in Preferences (needed in Mint 22), finally search and install Arduino IDE v2.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-flatpak-mint.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47874\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-flatpak-mint-700x378.webp\" alt=\"\" width=\"610\" height=\"329\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-flatpak-mint-700x378.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-flatpak-mint-300x162.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-flatpak-mint-768x415.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/arduino-flatpak-mint.webp 1138w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>While Debian\/Ubuntu, and other Linux can follow the steps below one by one to get the Flatpak package.<\/p>\n<ul>\n<li>First, open terminal (Ctrl+Alt+T) and run command to install Flatpak daemon package:\n<pre>sudo apt install flatpak<\/pre>\n<p>Other Linux may follow this <a href=\"https:\/\/flatpak.org\/setup\/\" target=\"_blank\" rel=\"noopener\">setup guide<\/a> instead to enable Flatpak support.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45732\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Next, run command to install the Flatpak package from flathub repository:\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/cc.arduino.IDE2.flatpakref<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/flatpak-arduino-1.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47872\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/flatpak-arduino-1-700x460.webp\" alt=\"\" width=\"610\" height=\"401\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/flatpak-arduino-1-700x460.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/flatpak-arduino-1-300x197.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/flatpak-arduino-1-768x505.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/flatpak-arduino-1.webp 826w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<\/ul>\n<p>After installed the package, either search for and launch from start menu (may need a log out and back in), or run the command <code>flatpak run cc.arduino.IDE2<\/code> to start it from terminal.<\/p>\n<p>For updates, use the command below to check &amp; install:<\/p>\n<pre>flatpak update cc.arduino.IDE2<\/pre>\n<h3>Uninstall Arduino IDE:<\/h3>\n<p>Depends on which package you install (or use), just delete the AppImage file or the app folder extracted from the Zip archive, as well delete the <code>arduino.desktop<\/code> (if created) under <code>.local\/share\/applications<\/code> to get rid of the app icon in start menu.<\/p>\n<p>For the Flatpak package, open terminal (Ctrl+Alt+T) and run command to uninstall:<\/p>\n<pre>flatpak uninstall --delete-data cc.arduino.IDE2<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to remove useless run-time libraries.<\/p>","protected":false},"excerpt":{"rendered":"<p>This is a step by step beginner&#8217;s guide shows how to install the most recent Arduino IDE (2.3.6 so far) in Ubuntu, Debian, and Linux Mint. Arduino IDE is free open-source AVR development board IDE from Arduino CC. It&#8217;s available in Debian and Ubuntu repositories, but stuck at version 1.8.19, probably because the 2.x versions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":45503,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1134,2086],"class_list":["post-47865","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-arduino-ide","tag-programming"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=47865"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47865\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/45503"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=47865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=47865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=47865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}