# Flutter install on Ubuntu 22.04
## Table of Content
According to [Flutter Get started](https://docs.flutter.dev/get-started/install/linux)
```
sudo snap install flutter --classic
```

```
flutter sdk-path
```


Then we run the flutter doctor to check our environment
```
flutter doctor
```

I prefer using Android Studio so download it from [Android Studio download page] (https://developer.android.com/studio). Extract to a subdirectory where in the /home directory afterwards run `./studio.sh`

Next

Choose Standard and Next

Keep selecting Darcula and Next

Next

Accept license and Next

Accept license and Next

Finish

Start downloading and installing

We can see Android SDK is up to date. and Finish

The IDE welcome page show up

Run flutter doctor again

Go back to the IDE and press More Actions

Click SDK manager

Check Android SDK Command-line Tools(latest) on SDK Tools list and apply

Press OK

Done and Finish

Install flutter on the IDE

Accept

Install dependancies

Restart the IDE when the installation is finished

Run fltter doctor

Follow the instruction and run the command
```
flutter doctor --android-licenses
```
Give y to all the licenses

No issues found!

Run the following command for installing the additional packages
```
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
```
Create and Run the first APP
Click the New Flutter Project button

Select Flutter and Next

Enter a project name(lower cases) and Create

The Flutter project is created

The Targer selector has no device selected


Open Device Manager

Click Create device

Select a device and Next

Next

Reflash the Targer selector util the devices show up

Select it and press run then wait for the response(may take minutes depends on PC or NB performance)

Check the Running Devices

Display the running device on single window

Resize the window and we can press the + button for testing

After testing, we can stop the APP
