Skip to content

Flutter installation on Linux

Flutter

Run (Ubuntu 64 only)

Terminal window
sudo apt-get update -y && sudo apt-get upgrade -y;
sudo apt-get install -y curl git unzip xz-utils zip libglu1-mesa

Download Flutter SDK from https://docs.flutter.dev/get-started/install/linux/android?tab=download

Terminal window
tar xvf flutter_linux_3.19.6-stable.tar.xz
sudo mv flutter /usr/bin
echo "export PATH=$PATH:/usr/bin/flutter/bin" >> ~/.zshrc
source ~/.zshrc

Some useful commands:

Terminal window
flutter doctor -v
flutter doctor --android-licenses
sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev