<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Computer Society of India, Student Chapter DYPIEMR on Medium]]></title>
        <description><![CDATA[Stories by Computer Society of India, Student Chapter DYPIEMR on Medium]]></description>
        <link>https://medium.com/@csidypiemr?source=rss-90fbfe7b677------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0FqET8Ksdkz0XFmItiGb9g.jpeg</url>
            <title>Stories by Computer Society of India, Student Chapter DYPIEMR on Medium</title>
            <link>https://medium.com/@csidypiemr?source=rss-90fbfe7b677------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 22:19:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@csidypiemr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Installing and setting up Flutter in Ubuntu and other Linux OS in simple and effective way]]></title>
            <link>https://csidypiemr.medium.com/installing-and-setting-up-flutter-in-ubuntu-and-other-linux-os-in-simple-and-effective-way-c032de57b060?source=rss-90fbfe7b677------2</link>
            <guid isPermaLink="false">https://medium.com/p/c032de57b060</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Computer Society of India, Student Chapter DYPIEMR]]></dc:creator>
            <pubDate>Wed, 02 Sep 2020 06:07:09 GMT</pubDate>
            <atom:updated>2022-02-04T09:58:32.964Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/56/0*YA8W1-GrFGbnQ3MZ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WiprwgfVE-xT_W3e.jpeg" /></figure><p>Photo by <a href="https://unsplash.com/@aleksowlade?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Aleksander Vlad</a> on <a href="https://unsplash.com/s/photos/computer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p><blockquote><em>Flutter is a powerful tool for creating applications using a single code base for Android, iOS, Linux, Mac, Windows and Google Fuchsia. It is an open-source UI software development kit created by Google. It is famous for its breathtaking UI and equally competent back end powered by its own object-oriented, class-based, garbage-collected language Dart.</em></blockquote><p>Keeping the introduction aside, Flutter as stated earlier is an open source tool and is quite in rise so it’s quite normal for anyone to feel attracted to check out the new kid on the block, whether you come from a native background, are a web app developer or are just a newbie who’s eager to make their first app, Flutter has got you covered.</p><p>As Mark Twain stated-</p><blockquote><em>The secret of getting ahead is getting started</em></blockquote><p>But sometimes the process of geting started itself becomes confusing and cumbersome, so here i am trying to make the setup process of Flutter in your Linux systems easy. I’ll be using a <strong>small hack</strong> due to which you <strong>don’t</strong> require to <strong>visit the browser</strong> even <strong>once</strong> and you’ll establish Flutter into your systems very easily and effectively. To be clear this is a tutorial on how to install flutter in your system and Android Studio must be already present in your system. You can install Android Studio into your systems from the following command.</p><pre>sudo snap install android-studio --classic</pre><p>Or you can refer this short tutorial to install Android Studio in your systems.</p><p>Fire up your terminal in your system <strong>(ctrl+alt+t)</strong>. Now start by ensuring that your Ubuntu or other Linux distro is up to date. For this, type in the following commands.</p><pre>sudo apt-get update<br>sudo apt-get upgrade</pre><p>In case of Parrot OS or other similar Debian OS, run the following commands as it is a rolling distribution and how APT works, the command will cause considerable problems to your system.</p><pre>sudo apt update<br>sudo apt full-upgrade</pre><p>There are a number of tools that are required for your Flutter program to run, here are the two which are not generally present by default in Linux systems.</p><h3>Installing Java JDK</h3><p>First we’ll install Java JDK version 8 and above, setting it to default and checking the version.</p><pre>sudo add-apt-repository ppa:linuxuprising/java<br>sudo apt -y install oracle-java14-installer</pre><p>This will install Java JDK into your system, you can change the JDK version by changing the number according to your wish but make sure it should be greater than 8. I am using the JDK version 14.</p><pre>sudo apt-y install oracle-java14-set-default</pre><p>Generally the system makes the newly installed JDK version in your PC the default one, but to be sure run this command</p><pre>java -version</pre><p>This command is to double check the current JDK version set in your JAVA_HOME.</p><h3>Installing Curl</h3><p>Curl is another command-line tool for transferring data using various network protocols, it’s generally not present or simply not up to date in systems making the build of app fail in many cases. Type the following command to install curl into your systems.</p><pre>sudo apt-get install curl</pre><p>In case of Parrot like OS, remove the <strong>-get </strong>and run the command.</p><p>Here’s where the interesting and unique part kicks in, what if i tell you that instead of going through the generic process, there’s an interesting and simpler way to install flutter into your systems? Let’s us do that just now.</p><p>Open the <strong>Plugins Marketplace</strong> in your Android Studio ( <em>if you’re in a project go to </em><strong><em>File-Settings-Plugins</em></strong><em> or if you’re on the home screen at the bottom right corner click on and in the drop down click on </em>). In the plugin marketplace search for <strong>Dart</strong> and <strong>Flutter</strong> plugins and <strong>install</strong> them.</p><p>Now if inside the project first close the project and after a couple of <strong>restarts</strong> of <strong>Android Studio</strong> you’ll get the option of <strong>Start a Flutter Project</strong> in the opening screen of Android Studio.</p><p>Android Studio opening screen after restarting the app after downloading the flutter plugin</p><p>Click on <strong>Start a new Flutter Project</strong>, there you’ll be asked for Flutter SDK Path and on the right side, it’ll give you the option to <strong>install the flutter SDK</strong>, click on that choose the directory where you want to download the SDK ( <em>preferably Home directory</em> ).</p><p>Now while the the SDK is being downloaded, go to the Home Directory and <strong>enable the Hidden Files View </strong>( <strong>ctrl+H</strong>). Here find the <strong>.bashrc</strong> file and open it with <strong>Text Editor</strong>. Once the SDK is downloaded, <strong>copy the path</strong> of the to the <strong>bin</strong> Folder in the newly downloaded folder. It would be something like this if you downloaded the SDK in the Home Directory and may change according to your downloaded location.</p><p><strong><em>/home/[your_username]/flutter/bin</em></strong></p><p>Now in the <strong>.bashrc </strong>file scroll to the bottom and copy this path by the following format and save the file.</p><pre>export PATH=&quot;$PATH:/home/[your_username]/flutter/bin&quot;</pre><p><em>Originally published at </em><a href="https://medium.com/@Asrivast1/installing-and-setting-up-flutter-in-ubuntu-and-other-linux-os-in-simple-and-effective-way-64ba5b21f55a"><em>https://medium.com</em></a><em> on September 2, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c032de57b060" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>