Installing
-
2. Downloading Flutter
Download Flutter for Ubuntu GNU/Linux
Save the File.
-
3. Installing Flutter
Then to Install Flutter for Ubuntu
First, access the Download location by default with:cd ~/Downloads
To Check it’s there List the contents with:
ls . | grep flutter
The grep Command refine the output List showing only the Entries matching the Keyword.
But if you are in Trouble to Find it out on Terminal then See: How to Access Downloads Folder from Browser.
And then simply Extract the Archive into Target directory with:tar xvf ~/Downloads/flutter*.tar.xz -C ~
Flutter Setup require a Read and Write Target for the User.
Finally, amend the User’s Path:echo "export PATH=$PATH:$HOME/flutter/bin" >> ~/.bashrc
To Reload it simply run:
bash
Now Test the Installation running:
flutter precache
This Command Populate the Flutter tool’s cache of Binary Artifacts.
-
4. Installing Dependencies
Then to Install Required Packages
Simply run:sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
Contents