Install the SDK
Skip your distro’s package manager for this one — Flutter ships its own toolchain and updates fast enough that distro packages are usually a version or two behind by the time you need something they fixed. Clone it straight from source instead:
git clone https://github.com/flutter/flutter.git -b stable ~/flutter
echo 'export PATH="$PATH:$HOME/flutter/bin"' >> ~/.bashrc
source ~/.bashrc
flutter doctor
flutter doctor will flag missing Android SDK components, Chrome (for web), and Linux desktop build dependencies separately — fix them one at a time rather than guessing.