3

I tried to install flutter requirement on ubuntu 22.04.LTS.

➜  ~ flutter doctor

In flutter doctor I found issue 1 category in linux toolchain

Flutter-Doctor

but after I tried in various ways still can't install clang

Issue-2

I've also tried to install libgtk-3-dev but so far it doesn't work

Issue-3

How to fix all broken packages, please tell me!

jmoerdyk
  • 5,544
  • 7
  • 38
  • 49
Mr Ginting
  • 324
  • 1
  • 6
  • Please do not edit solution announcements into the question or title. See [What should I do when someone answers my question?](https://stackoverflow.com/help/someone-answers) You can also create your own answer, and even accept it, if your solution is not yet covered by an existing answer. See [Can I answer my own question?](https://stackoverflow.com/help/self-answer) – jmoerdyk Aug 22 '22 at 16:08

1 Answers1

0

From flutter docs to install the linux requirements on a debian based.

sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
griffins
  • 7,079
  • 4
  • 29
  • 54