{"id":74819,"date":"2018-10-10T09:40:08","date_gmt":"2018-10-10T09:40:08","guid":{"rendered":"https:\/\/randomnerdtutorials.com\/?p=74819"},"modified":"2019-04-02T10:23:18","modified_gmt":"2019-04-02T10:23:18","slug":"install-upycraft-ide-linux-ubuntu-instructions","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/install-upycraft-ide-linux-ubuntu-instructions\/","title":{"rendered":"Install uPyCraft IDE &#8211; Linux Ubuntu Instructions"},"content":{"rendered":"<p>There are different firmwares that you can use to program the ESP32 and ESP8266 boards. If you want to program the ESP32 or ESP8266 board using the MicroPython firmware, we recommend using uPyCraft IDE. uPyCraft IDE runs in any major operating system. In this tutorial we\u2019ll show you how to install the uPyCraft IDE for MicroPython on a computer with Linux Ubuntu 16.04.<!--more--><\/p>\n<p><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-74856\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/Installing-uPyCraft-IDE-Linux-Ubuntu-MicroPython-featured.jpg?resize=1200%2C675&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"1200\" height=\"675\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/Installing-uPyCraft-IDE-Linux-Ubuntu-MicroPython-featured.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/Installing-uPyCraft-IDE-Linux-Ubuntu-MicroPython-featured.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/Installing-uPyCraft-IDE-Linux-Ubuntu-MicroPython-featured.jpg?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/Installing-uPyCraft-IDE-Linux-Ubuntu-MicroPython-featured.jpg?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>If you&#8217;re using a different operating system, make sure you follow the right guide:<\/p>\n<ul>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/install-upycraft-ide-windows-pc-instructions\/\">Install uPyCraft IDE &#8211; Windows PC Instructions<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/install-upycraft-ide-mac-os-x-instructions\/\">Install uPyCraft IDE &#8211; Mac OS X Instructions<\/a><\/li>\n<\/ul>\n<p>After installing uPyCraft IDE in your computer, we recommend reading: <a href=\"https:\/\/randomnerdtutorials.com\/getting-started-micropython-esp32-esp8266\/\">Getting Started with MicroPython on ESP32 and ESP8266<\/a>.<\/p>\n<h2>Installing Python 3.X &#8211; Linux Ubuntu<\/h2>\n<p>Before installing the uPyCraft IDE, make sure you have Python 3.X installed in your computer. If you don\u2019t, follow the next instructions to install Python 3.X. Run this command to install Python 3 and pip:<\/p>\n<pre>$ <strong>sudo apt install python3 python3-pip<\/strong><\/pre>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter size-full wp-image-74833\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/0-Installing-Python3-Python3-pip-Linux-Ubuntu-for-uPyCraft-IDE.png?resize=625%2C422&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"625\" height=\"422\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/0-Installing-Python3-Python3-pip-Linux-Ubuntu-for-uPyCraft-IDE.png?w=625&amp;quality=100&amp;strip=all&amp;ssl=1 625w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/0-Installing-Python3-Python3-pip-Linux-Ubuntu-for-uPyCraft-IDE.png?resize=300%2C203&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<h2>Installing uPyCraft IDE &#8211;\u00a0Linux Ubuntu 16.04<\/h2>\n<p>As mentioned before, for this tutorial we&#8217;ll be using uPyCraft IDE to program the ESP32 or ESP8266 boards using the MicroPython firmware. In our opinion, uPyCraft IDE is the easiest way of programming ESP based boards with MicroPython at the moment.<\/p>\n<p>You can learn more about uPyCraft IDE on their\u00a0<a href=\"https:\/\/github.com\/DFRobot\/uPyCraft\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub repository<\/a>\u00a0or explore the <a href=\"https:\/\/github.com\/DFRobot\/uPyCraft_src\" target=\"_blank\" rel=\"noopener noreferrer\">uPyCraft IDE source code<\/a>.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>IMPORTANT:<\/strong> at the time of writing this guide, uPyCraft IDE is only tested on Linux Ubuntu 16.04. If you want to run it on a different Ubuntu version or Linux distribution, we recommend using\u00a0 <\/span><a href=\"https:\/\/github.com\/DFRobot\/uPyCraft_src\" target=\"_blank\" rel=\"noopener noreferrer\">uPyCraft IDE source code<\/a>\u00a0<span style=\"color: #ff0000;\">and compile the software yourself.<\/span><\/p>\n<h3>Downloading uPyCraft IDE for\u00a0Linux Ubuntu 16.04<\/h3>\n<p><strong><a href=\"https:\/\/randomnerdtutorials.com\/uPyCraftLinux\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to download uPyCraft IDE for Linux Ubuntu 16.04<\/a>\u00a0<\/strong>or go to this link <a href=\"https:\/\/randomnerdtutorials.com\/uPyCraftLinux\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/randomnerdtutorials.com\/uPyCraftLinux<\/a>.<\/p>\n<p>Open your Terminal window, navigate to your <strong>Downloads<\/strong> folder and list all the files:<\/p>\n<pre>$ <strong>cd Downloads<\/strong>\n$ <strong>ls -l\n<\/strong>  uPyCraft_linux_V1.X<\/pre>\n<p>You should have a similar file (<em>uPyCraft_linux_V1.X<\/em>) in your Downloads folder. You need to make that file executable with the following command:<\/p>\n<pre>$ <strong>chmod +x uPyCraft_linux_V1.X<\/strong><\/pre>\n<p>Then, to open\/run the uPyCraft IDE software, type the next command:<\/p>\n<pre>$ <strong>.\/uPyCraft_linux_V1.X<\/strong><\/pre>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter size-full wp-image-74834\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/1-Open-uPyCraft-IDE-Linux-Ubuntu.png?resize=814%2C422&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"814\" height=\"422\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/1-Open-uPyCraft-IDE-Linux-Ubuntu.png?w=814&amp;quality=100&amp;strip=all&amp;ssl=1 814w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/1-Open-uPyCraft-IDE-Linux-Ubuntu.png?resize=300%2C156&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/1-Open-uPyCraft-IDE-Linux-Ubuntu.png?resize=768%2C398&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 814px) 100vw, 814px\" \/><\/p>\n<p>We&#8217;ll be using this software to flash our ESP based boards with MicroPython firmware as well as to program the boards.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-74835\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/2-uPyCraft-IDE-Linux-Ubuntu-window.png?resize=966%2C648&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"966\" height=\"648\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/2-uPyCraft-IDE-Linux-Ubuntu-window.png?w=966&amp;quality=100&amp;strip=all&amp;ssl=1 966w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/2-uPyCraft-IDE-Linux-Ubuntu-window.png?resize=300%2C201&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/2-uPyCraft-IDE-Linux-Ubuntu-window.png?resize=768%2C515&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/><\/p>\n<p>Follow the next tutorial to flash your ESP boards with the MicroPyhton firmware:<\/p>\n<ul>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/flash-upload-micropython-firmware-esp32-esp8266\/\">How to flash MicroPython firmware into ESP32\/ESP8266<\/a><\/li>\n<\/ul>\n<h2>Wrapping Up<\/h2>\n<p>We hope you&#8217;ve found this tutorial useful. This is a quick guide that shows how to install uPyCraft IDE on Linux Ubuntu. If you have a different operating system, read one of the following guides:<\/p>\n<ul>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/install-upycraft-ide-windows-pc-instructions\/\">Install uPyCraft IDE &#8211; Windows PC Instructions<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/install-upycraft-ide-mac-os-x-instructions\/\">Install uPyCraft IDE &#8211; Mac OS X Instructions<\/a><\/li>\n<\/ul>\n<p><strong>Learn more about MicroPython with our eBook: <\/strong><a href=\"https:\/\/randomnerdtutorials.com\/micropython-programming-with-esp32-and-esp8266\/\">MicroPython Programming with ESP32 and ESP8266<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are different firmwares that you can use to program the ESP32 and ESP8266 boards. If you want to program the ESP32 or ESP8266 board using the MicroPython firmware, we &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install uPyCraft IDE &#8211; Linux Ubuntu Instructions\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/install-upycraft-ide-linux-ubuntu-instructions\/#more-74819\" aria-label=\"Read more about Install uPyCraft IDE &#8211; Linux Ubuntu Instructions\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":74856,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[276,281,265,310,309,264],"tags":[],"class_list":["post-74819","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esp32","category-esp32-project","category-esp8266-project","category-micropython","category-0-esp32-micropython","category-project"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2018\/10\/Installing-uPyCraft-IDE-Linux-Ubuntu-MicroPython-featured.jpg?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/74819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=74819"}],"version-history":[{"count":0,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/74819\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/74856"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=74819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=74819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=74819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}