linuxflutterlinux-mint

How to install flutter on Linux Mint


I'm new to linux mint and I don't know how to install flutter.

"https://docs.flutter.dev/get-started/install/linux"

I couldn't understand the things in the link here, I would appreciate it if you could help.


Solution

  • Let me explain in simple steps :

    first install "snapd" in your linux machine using command Steps to install snapd-

    sudo mv /etc/apt/preferences.d/nosnap.pref ~/Documents/nosnap.backup

    sudo apt update

    sudo apt install snapd

    Now,Install flutter using snap-

    1- sudo snap install flutter --classic

    flutter will get installed after this (stablle internet connection needed)

    To verify your flutter, run following command

    flutter doctor

    Note: You will need to install Android studio to run flutter on android emulator.

    Hope it will work!!