How to Install Flutter on Linux?
Last Updated :
26 Oct, 2021
In this article, we will learn how to install Flutter in Linux
Flutter is an open-source UI software development kit created by Google. It is used to develop cross-platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase.
Installing Flutter on Linux:
Method 1: Using snapd
Step 1: Install snapd for Linux
Step 2: Enter the following command in Terminal to install Flutter
sudo snap install flutter --classic
Method 2: Using installation bundle
Step 1: Get the link of the latest stable release of flutter package from here
Step 2: Replace the download link with the latest one and enter the following command in terminal
curl https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_2.5.3-stable.tar.xz > flutter.tar.xz
Step 3: Extract the downloaded package using the following command.
tar xf ~/flutter.tar.xz
Step 4: Add the flutter bin folder path to environment path by entering it in terminal.
export PATH="$PATH:`pwd`/flutter/bin"

Method 3: Using git
Step 1: Install git for Linux
Step 2: Enter the following command to clone the latest stable release from Flutter Repo using Git
git clone https://github.com/flutter/flutter.git -b stable
Step 3: Add the flutter bin folder path to the environment path by entering it in terminal.
export PATH="$PATH:`pwd`/flutter/bin"

Verification:
Run the following command in terminal to check if flutter is successfully installed
flutter doctor

Here you can see Flutter is successfully installed, the remaining issues are due to missing Android Studio, Android SDK, Google Chrome and Android Emulator
Similar Reads
How to Install Dart on Linux? This article will cover the topic of how you can install Dart SDK on a Linux system. Before we dive into installation let's first take a small overview of Dart, its applications, and system requirements to install Dart in a Linux system. At the time of writing this article, the latest stable release
4 min read
How to Install Flutter on Windows? Flutter is Google's portable user interface (UI) toolkit. It is used to build and develop eye-catching, natively built mobile, desktop, and web applications from a single codebase. Flutter is free, open-sourced, and compatible with existing code. Due to its user-friendly interface and fairly simple
8 min read
How to Install Flutter App on Android? The hottest and trending cross-platform framework, Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop with just a single codebase, meaning you write for one, build for three. Flutter works with existing code, is used by developers and organizations aro
4 min read
How to Install Flutter in Eclipse? Flutter is a framework for building cross-platform applications (android, ios, web) which use Dart as its programming language. Before IDEs like Android Studio and VS code became popular, Eclipse used to be heavily used by developers. Now we can install dart inside our Eclipse IDE with the help of t
2 min read
How to Install Flutter on Visual Studio Code? In this article, we will walk through the process of installing Flutter in Visual Studio Code. Flutter is an open-source portable UI framework for mobile, desktop, and web. It is developed and managed by Google, Flutter is used for creating a high-quality, beautiful, and fast native interface for an
4 min read