

cd myprojectĮxtract files tar xvf ~/Downloads/flutter_linux_* For example, here we have created a dedicated directory called- myproject and we are using that. Switch to the folder where you want to extract the downloaded flutter files. Visit the page and select the latest version of Flutter to download. That we can easily download from its official webpage. Next, we need the Flutter SDK tarball file. For example, let’s create a directory named- myproject you can use whatever you want. Well, it’s a good idea to create a dedicated folder to store Flutter and avoid things from getting messed up. sudo apt install curl file git unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config libgtk-3-dev Hence, before moving further use the below-given command to install them.

There are few tools and libraries required to use Flutter on Linux such as Ubuntu. In addition to refreshing the system repo cache. Let’s first run the system update command before installing Flutter, this will update all the already installed packages on our Ubuntu 20.04 Linux. To know where is Flutter SDK, run: flutter sdk-path If you don’t want to go through various steps to install and set up flutter then simply run the SNAP command, a single command will set all the necessary things required to start with this programming platform. #Ist Method using Snap Use Snap to Install Flutter on Ubuntu 20.04 LTS Here we are using Ubuntu 20.04 to install the Flutter UI framework, however, the steps will be the same for Ubuntu 21.04 & 18.04 including Linux Mint, POP!OS, MX Linux, and other Debian-based systems. Add command-line tools to your environmentįlutter installation on Ubuntu 20.04 LTS Linux Install Android SDK Command-line Tools (latest) Check any missing dependency using- flutter doctor Use Snap to Install Flutter on Ubuntu 20.04 LTS.Flutter installation on Ubuntu 20.04 LTS Linux.
