I use zorinOS (based on ubuntu) in my old laptop. I want to use flutter, but i don't want to install android studio. So i try to install android-sdk from apt-install android-sdk, but after i run flutter doctor, i found that i don`t have sdkmanager:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.2, on Zorin OS 16.1 5.15.0-46-generic, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 27.0.1)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] Connected device (1 available)
[✓] HTTP Host Availability
So i decided to download android tool from android studio website:
But i doesn't come with any installation manual. So how to install sdkmanager to my system?
info:
At first, i thought that sdkmanager will be in my android-sdk tool but it is not:

when i run sdkmanager directly, i get:
~/Downloads/cmdline-tools/bin$ ./sdkmanager --update
Error: Could not determine SDK root.
Error: Either specify it explicitly with --sdk_root= or move this package into its expected location: <sdk>/cmdline-tools/latest/
Where is the expected location for this package?
