If your reading this article which means you what is flutter and you want to try flutter on hobby project or learn mobile development using flutter for its simplicity. to begin with flutter first step is to install flutter. so this article help to install flutter and run development.

Lets begin with install java in Ubuntu 18.04

sudo apt-get update && sudo apt install openjdk-8-jdk

Download and install Android Studio

Download Android studio from https://developer.android.com/studio/index.html. and extract the contents, to install android studio `<android_studio>/bin/studio.sh` while installing android studio make sure you download Android SDK.

Now let's install Flutter

  1. Download flutter from here : https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_v1.9.1+hotfix.4-stable.tar.xz.
  2. Extract by using tar xf <downloaded/location>/flutter_linux_v1.9.1+hotfix.4-stable.tar.xz.
  3. Open ~/.bashrc in nano editor by sudo nano ~/.bashrc.
  4. Paste and save export PATH="$PATH:/<flutter/extracted/location>/bin".
    5.Then terminal type source ~/.bashrc.
    6.Then you can run flutter doctor command in your terminal.