Flutter Installation in Debian – Step-by-step

August 7, 2023 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading Flutter

    Download Flutter for Debian GNU/Linux

    Get Flutter tar.xz for Debian

    Save the File.

  2. 3. Installing Flutter

    Then to Install Flutter for Debian
    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.

  3. 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


QuickChic Theme • Powered by WordPress