Install Flutter on Linux

flutter installation minimum requirements

We will install flutter on Linux, Here we use Ubuntu 20.04 to install the Flutter UI framework, but the steps are the same for Ubuntu 21.04 and 18.04 including Linux Mint and POP. OS, MX Linux, and other Debian-based systems.

Operating systems: Linux (64 bit)

Disk Available space: 600 MB

Tools: flutter depends on the following commands, ensure you have them on your system

  • bash
  • curl
  • file
  • git 2. x
  • mkdir
  • rm
  • unzip
  • which
  • xz-utils
  • zip

Go to and download the latest stable release

After successful download, run the following command to move the downloaded file to /opt folder.

sudo mv flutter_linux_2.2.2-stable.tar.xz /opt/

Next , navigate to /opt/ folder

cd  /opt/

Extract the file in /opt/ or your desired location.

sudo tar xf flutter_linux_2.2.2-stable.tar.xz

Add the flutter tool to your path

 export PATH="$PATH:flutter/bin"

Verify that the flutter/bin the directory is now in your PATH by running:

echo $PATH

Your output should include flutter


running the which command again should show that the flutter and dart commands now come from the same directory.

which flutter dart

Go ahead and download android studio. after installation click on the configuration panel and select plugin.

Select flutter plugin

Next, you should see the option to create a new flutter application.

You may be asked to select your SDK folder while creating your new flutter application. Select the flutter folder extract earlier.

If you have a permission error while creating your first flutter application, locate your flutter SDK folder and run the following command.

sudo chown -R simon ./flutter/*


sudo chown -R simon .*


Fully stack(MEAN) software engineer with over five years of experience participating in the complete product development lifecycle of successfully launched applications. Eager and willing to deliver mission- critical technology solutions.

View all posts by swagasoft →

Leave a Reply

Your email address will not be published. Required fields are marked *