How to Fix Install Clang and libgtk-3-dev in Flutter Doctor Ubuntu 22.04

Viewed 75

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!

1 Answers

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
Related