{"id":3671,"date":"2021-01-20T11:52:59","date_gmt":"2021-01-20T11:52:59","guid":{"rendered":"https:\/\/linuxways.net\/?p=3671"},"modified":"2021-03-05T05:11:43","modified_gmt":"2021-03-05T05:11:43","slug":"how-to-install-arduino-ide-on-debian-10","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-arduino-ide-on-debian-10\/","title":{"rendered":"How to Install Arduino IDE on Debian 10"},"content":{"rendered":"<p>Arduino IDE is a piece of software that you can download and install on your system. It allows us to write, compile, and upload the code to the Arduino compatible boards which then interacts with the things in the real world. In this post, we will be describing to you different ways to install Arduino IDE on Debian.<\/p>\n<p>You can install Arduino IDE on the Debian system through the following ways:<\/p>\n<ul>\n<li>Install Arduino IDE via tarball<\/li>\n<li>Install Arduino IDE via snap<\/li>\n<li>Install Arduino IDE via apt<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> The commands and procedures shown here have been tested on Debian 10 (Buster) system. You must have sudo privileges to install Arduino IDE on your system.<\/p>\n<h2>Install Arduino IDE on Debian via tarball<\/h2>\n<p>This method allows us to install the latest release of the Arduino IDE on our system. Follow the steps described below to download and install Arduino IDE on Debian.<\/p>\n<p>1. You will need to first download the Arduino IDE latest release on your Debian system. Visit the following link and download the latest version of Arduino IDE for Linux OS.<\/p>\n<pre><a href=\"https:\/\/www.arduino.cc\/en\/software\/\">https:\/\/www.arduino.cc\/en\/software\/<\/a><\/pre>\n<p>Alternatively, you can use the following wget command to download the Arduino IDE for Linux OS.<\/p>\n<pre>$ wget <a href=\"https:\/\/downloads.arduino.cc\/arduino-1.8.13-linux64.tar.xz\">https:\/\/downloads.arduino.cc\/arduino-1.8.13-linux64.tar.xz<\/a><\/pre>\n<p>The downloaded package will be a tarball (compressed) file named arduino-(version number)-linux64.tar.xz (arduino-1.8.13-linux64.tar.xz).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"941\" height=\"312\" class=\"wp-image-3672\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-344.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-344.png 941w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-344-300x99.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-344-768x255.png 768w\" sizes=\"auto, (max-width: 941px) 100vw, 941px\" \/><\/p>\n<p>2. Next, uncompress the tarball file using the following syntax:<\/p>\n<pre>$ tar xvf arduino_filename<\/pre>\n<p>Replace the <strong>arduino_filename<\/strong> with the name of the downloaded Arduino IDE tarball file.<\/p>\n<pre>$ tar xvf arduino-1.8.13-linux64.tar.xz<\/pre>\n<p>This command will extract the tarball file in a folder name <strong>arduino-1.8.13<\/strong>.<\/p>\n<p>3. Now, navigate to the extracted folder using the cd command as follows:<\/p>\n<pre>$ cd arduino-(version number)<\/pre>\n<p>Replace <strong>arduino-(version number)<\/strong> with the extracted folder name which in our scenario is <strong>arduino-1.8.13<\/strong>.<\/p>\n<pre>$ cd arduino-1.8.13<\/pre>\n<p>The Arduino folder contains the <strong>install.sh<\/strong> install script which will be used to install the Arduino IDE.<\/p>\n<p>4. Execute the following command in Terminal to run the install script:<\/p>\n<pre>$ sudo .\/install.sh<\/pre>\n<p>The \u201cdone!\u201d in the output shows Arduino IDE has been installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"814\" height=\"217\" class=\"wp-image-3673\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-345.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-345.png 814w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-345-300x80.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-345-768x205.png 768w\" sizes=\"auto, (max-width: 814px) 100vw, 814px\" \/><\/p>\n<p>5. After installation, you can launch Arduino IDE right from the Terminal by typing the following command:<\/p>\n<pre>$ arduino<\/pre>\n<p>When you launch Arduino IDE for the first time, a dialog may pop up asking you to add a user to the dialout group. Click <strong>Add<\/strong> in order to add the user to the dialout group. After that, you must log out and then log in back to implement the changes.<\/p>\n<h2>Install Arduino IDE on Debian via Snap<\/h2>\n<p>Arduino is also available as a snap package for Debian OS. Snaps are software packages that contain all dependencies that are required to run the application. This method also installs the Arduino IDE latest version i.e. <strong>1.8.13<\/strong>.<\/p>\n<p>To install Arduino IDE via its snap package, first, you will have to update the system repository index. Issue the following command to do so:<\/p>\n<pre>$ sudo apt update<\/pre>\n<p>To install the snap package, you must have snapd installed on your system. You can install it as follows:<\/p>\n<pre>$ sudo apt install snapd<\/pre>\n<p>Then install snap core as follows:<\/p>\n<pre>$ sudo snap install core<\/pre>\n<p>Now you can install Arduino IDE via its snap package. Issue the following command to do so:<\/p>\n<pre>$ sudo snap install arduino<\/pre>\n<p>Now the installation will start and once completed, you will see the following output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"85\" class=\"wp-image-3674\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-346.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-346.png 493w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-346-300x52.png 300w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><\/p>\n<p>After installation, you can launch Arduino IDE right from the Terminal by typing the following command:<\/p>\n<pre>$ arduino<\/pre>\n<p>When you launch Arduino IDE for the first time, a dialog may pop up asking you to add the user to the dialout group. You can do so by running the below command in Terminal:<\/p>\n<pre>$ sudo usermod -a -G dialout &lt;username&gt;<\/pre>\n<p>Replace the &lt;username&gt; with the actual user name which in our scenario is \u201ckbuzdar\u201d.<\/p>\n<pre>$ sudo usermod -a -G dialout kbuzdar<\/pre>\n<p>Now in order to implement the changes, reboot the system and launch Arduino IDE again.<\/p>\n<h2>Install Arduino IDE on Debian via apt<\/h2>\n<p>Debian repositories also contain the Arduino IDE package but that is an older version 1.0.5. Although it is not recommended to install the older version. But in some cases, if you need to use the older version of Arduino IDE, you can install it using the apt command.<\/p>\n<p>To install Arduino IDE on the Debian system, issue the below command in Terminal:<\/p>\n<pre>$ sudo apt install arduino<\/pre>\n<p>Enter the password for sudo. After entering the password, you might be prompted with the <strong>y\/n<\/strong> option to proceed or cancel the installation respectively. Hit y to proceed with the installation.<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"503\" class=\"wp-image-3675\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-347.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-347.png 796w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-347-300x190.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-347-768x485.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/h2>\n<p>After installation, you can launch Arduino IDE right from the Terminal by typing the following command:<\/p>\n<pre>$ arduino<\/pre>\n<p>When you launch Arduino IDE for the first time, a dialog may pop up asking you to add the user to the dialout group. You can do so by running the below command in Terminal:<\/p>\n<pre>$ sudo usermod -a -G dialout &lt;username&gt;<\/pre>\n<p>Replace the &lt;username&gt; with the actual user name which in our scenario is \u201ckbuzdar\u201d.<\/p>\n<pre>$ sudo usermod -a -G dialout kbuzdar<\/pre>\n<p>Now in order to implement the changes, reboot the system and launch Arduino IDE again.<\/p>\n<h2>Uninstall Arduino<\/h2>\n<p>In case you no longer need Arduino IDE, you can easily uninstall it from your system.<\/p>\n<p>First, you will have to navigate to the Arduino folder which contains the uninstall script.<\/p>\n<pre>$ cd arduino-1.8.13<\/pre>\n<p>Then to uninstall Arduino, run the uninstall script as follows:<\/p>\n<pre>$ sudo .\/uninstall.sh<\/pre>\n<p>In this post, we have shown you different methods to install the Arduino IDE on Debian. If you want to install the latest release of Arduino IDE, go for installation via tarball and snap. In case, you need an older release of Arduino, go for installation via apt.<\/p>","protected":false},"excerpt":{"rendered":"<p>Arduino IDE is a piece of software that you can download and install on your system. It allows us to write, compile, and upload the code to the&hellip;<\/p>","protected":false},"author":4,"featured_media":3676,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[150,17],"class_list":["post-3671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","tag-arduino-ide","tag-debian-10"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/3671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=3671"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/3671\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/3676"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=3671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=3671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=3671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}