<?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 Abhishek Kumar on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Kumar on Medium]]></description>
        <link>https://medium.com/@abhimait1909?source=rss-4474f5076e30------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*z6MBz6R7qJIAaRwfeAHFQw.jpeg</url>
            <title>Stories by Abhishek Kumar on Medium</title>
            <link>https://medium.com/@abhimait1909?source=rss-4474f5076e30------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 07:17:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhimait1909/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[Flutter for Desktop: Complete Linux Installation Guide.]]></title>
            <link>https://medium.com/code-for-cause/flutter-for-desktop-complete-linux-installation-guide-4b1d40f6d86b?source=rss-4474f5076e30------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b1d40f6d86b</guid>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[flutter-installation]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Abhishek Kumar]]></dc:creator>
            <pubDate>Sat, 13 Jun 2020 15:36:37 GMT</pubDate>
            <atom:updated>2020-07-05T20:54:56.638Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*AycPgx3Z32tTU4-e9VNQ6g.jpeg" /></figure><p>A random conversation:<br>“ What flutter is for: <br>Flutter for Android<br>Flutter for iOS<br>Flutter for Web<br>Flutter for MacOS<br>Flutter for Windows<br>Flutter for Linux<br>Yes! Flutter is having something for …</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FfxZ7cC3zYIVXi%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FfxZ7cC3zYIVXi%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FfxZ7cC3zYIVXi%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="454" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7585591d9c8b84dd8ebe213f9e03044/href">https://medium.com/media/e7585591d9c8b84dd8ebe213f9e03044/href</a></iframe><p>In the world of diversity, flutter speaks a single language of unity. Once we setup our development environment for the platform, we are ready to build anything on any platform using a single framework that everyone knows with the name of flutter.</p><p>So let&#39;s start with installing flutter for Desktop on Linux.</p><p>Before you start it is assumed that the flutter is installed and configured for Android on your device, if not you can head over to <a href="https://flutter.dev/docs/get-started/install">here</a>.</p><p>Since flutter for Desktop for Windows and Linux is still under development, you can not setup your environment with its stable release… and you can expect some really big changes with the flutter API.<br>But for now what to do:<br>Fire-up the terminal and be ready to develop your first fantastic application with flutter.</p><pre>$ flutter channel</pre><pre>Flutter channels:<br>  master<br>  dev<br>  beta<br>* stable</pre><pre>$ flutter channel master &amp;&amp; flutter upgrade</pre><pre>Successfully switched to flutter channel &#39;master&#39;.<br>upgrading flutter...</pre><p>Now you have switched to master branch of flutter github repo. Now you can enable flutter development tools for Linux or Windows or both.<br>To enable flutter Linux features run:</p><pre>$ flutter config --enable-linux-desktop</pre><p>Now run flutter devices and you should see:</p><pre>$ flutter devices<br>1 connected device:</pre><pre>Linux • Linux • linux-x64 • Linux</pre><pre>$ # Now you have successfully configured your device config.</pre><p>Now run flutter doctor:</p><pre>$ flutter doctor</pre><p>You may get errors in your Linux toolchain and require to install the required apt-packages.</p><pre>$ sudo apt install 1st 2nd 3rd<br># replace the numbers with the packages thrown by flutter doctor</pre><p>Now flutter requires other dependencies and packages to be installed to run your development environment. You need to install those by:</p><pre>$ sudo apt-get install cmake libgtk-3-dev pkg-config</pre><p>This installs cmake to manage the build processes, libgtk-3-dev for widget-toolkits development and pkg-config for package-configurations. At this point, you have configured all the global requirements to setup our Linux development environment, now reassure that you don&#39;t have any errors with <em>flutter doctor</em>.<br>Now its time to create your first application:</p><pre>$ flutter create myFirstDesktopApp<br>$ cd myFirstDesktopApp</pre><p>It creates your application with the name myFirstDesktopApp and you can now open your app in your favorite code editor.</p><p>Now when you run flutter run you may still get cmake errors:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*0NtFPC4JAfZADU_j05y4Jg.png" /></figure><p>This is because we need to download platform-specific development binaries and build tools beforehand. To download such:</p><pre>$ flutter precache --linux</pre><p>Now its time to setup your pubspec.yaml file. We are basically adding desktop development plugins for flutter. Currently, they are less in numbers but enough to build your desired application.</p><pre>dependencies:<br>  flutter:<br>    sdk: flutter<br>  file_chooser:<br>    git:<br>      url: git://github.com/google/flutter-desktop-embedding.git<br>      path: plugins/file_chooser<br>      ref: 5d227793a515c822d634587b230601a31921ef6a # DummyID May ...Not be latest</pre><p>With this process, our app knows that we are embedding desktop builds.<br> ref: is the latest commit Id of the flutter-desktop-embedding.git repo. To get the Latest Commit, go to the <a href="https://github.com/google/flutter-desktop-embedding">repo</a> and get the latest commit hash by clicking on the latest commit and copying the full hash Id either from the page or the browser’s address bar.</p><p>And guess what! Its the end of all your setups and start of your development journey.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F2A60WPcv5DZu3BtotN%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F2A60WPcv5DZu3BtotN%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F2A60WPcv5DZu3BtotN%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/d61934720ba060173af31862c9a29008/href">https://medium.com/media/d61934720ba060173af31862c9a29008/href</a></iframe><pre>$ flutter pub get</pre><pre>$ flutter run</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*uQ2YLcowrT7bBB7Gi7-OWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*linfjKRemZ_P5nSE51SJ8A.png" /></figure><p>That’s it now you have successfully configured your environment and created your first app with it. If you like this article give a handful of clap and share with other flappy birds.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b1d40f6d86b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-for-cause/flutter-for-desktop-complete-linux-installation-guide-4b1d40f6d86b">Flutter for Desktop: Complete Linux Installation Guide.</a> was originally published in <a href="https://medium.com/code-for-cause">Code for Cause</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>