Let’s first run the system update command before installing Flutter, this will update all the already installed packages on our Debian Linux. In addition to refreshing the system repo cache.
sudo apt update
There are few tools and libraries required to use Flutter on Linux such as Debian. Hence, before moving further use the below-given command to install them:
sudo apt install curl file git unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config libgtk-3-dev