How to Install and Set up Flutter in Ubuntu

 How to Install and Set up Flutter in Ubuntu.
























Flutter is a Google-based UI toolkit for App development in front end fields. Flutter uses Dart language to operate and craft the user interface app designs. Languages such as Kotlin, Swift are also compatible with Flutter but Flutter is optional for those who don't want to part their ways from Java.

For Installing Flutter, we should first configure Java as an Android Studio Dependency, Setup Android studio code to use hardware-acceleration and run Flutter app.

How To Install and Configure Flutter

First thing First: Install Flutter Package in your Ubuntu.

Method 1: Install via Snap store


$ sudo snap install flutter --classic

Method 2: Install via Software Center







After installing Flutter, Start a basic check using this command

$ flutter doctor -v

Great, Now we have a flutter.

How to Install and Configure Java

First, we need to have a Java development kit in short JDK.
To get the latest version of java, use the command given below

$ sudo apt update 

$sudo apt install openjdk-8-jdk

Let's set environmental variable

$ sudo update-alternatives --config java


How to install Android Studio code and Run Flutter

Method 1: Install via Command line

$ sudo apt install android-studio

Method 2: Install via Software center























Now, let's do checkup using the below command

$ flutter doctor -v

Now, Everything is in check. 

That's all for today. See you at the next one, Bye bye




Comments