first commit
This commit is contained in:
commit
4fa9d95884
1 changed files with 78 additions and 0 deletions
78
README.md
Normal file
78
README.md
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
7# Flutter on Debian 12
|
||||||
|
|
||||||
|
[orig linl](https://dev.to/fullstackhacker/install-flutter-on-debian-3g3h)
|
||||||
|
|
||||||
|
## Install dependencies
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install curl file git unzip xz-utils zip libglu1-mesa
|
||||||
|
|
||||||
|
## Download Latest Flutter SDK
|
||||||
|
|
||||||
|
[link Flutter SDK](https://docs.flutter.dev/development/tools/sdk/releases?tab=linux)
|
||||||
|
|
||||||
|
install using
|
||||||
|
|
||||||
|
cd ~
|
||||||
|
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.32.8-stable.tar.xz
|
||||||
|
tar xvf flutter_linux_3.32.8-stable.tar.xz
|
||||||
|
|
||||||
|
inserire flutter nel path editando
|
||||||
|
|
||||||
|
nano ~/.bashrc
|
||||||
|
|
||||||
|
e inserendo in fondo
|
||||||
|
|
||||||
|
export PATH="$PATH:~/flutter/bin"
|
||||||
|
|
||||||
|
uscire dalla bash per far ricaricare
|
||||||
|
|
||||||
|
verificare con
|
||||||
|
|
||||||
|
flutter --version
|
||||||
|
|
||||||
|
controllare tutte le dipendenze di flutter
|
||||||
|
|
||||||
|
flutter doctor
|
||||||
|
|
||||||
|
per esempio
|
||||||
|
|
||||||
|
sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev
|
||||||
|
|
||||||
|
installare flutter bin nel path
|
||||||
|
|
||||||
|
nano ~/.bashrc
|
||||||
|
|
||||||
|
inserendo alla fine ( in questo caso la dir home ~ era /home/fabio
|
||||||
|
|
||||||
|
export PATH="$PATH:/home/fabio/flutter/bin"
|
||||||
|
|
||||||
|
uscire dalla shell e rientrare per avere il path aggiornato
|
||||||
|
|
||||||
|
ricontrollare con
|
||||||
|
|
||||||
|
flutter doctor
|
||||||
|
|
||||||
|
se serve installare Chrome [orig linl](https://linuxcapable.com/how-to-install-google-chrome-on-debian-linux/)
|
||||||
|
|
||||||
|
partiamo inserendo le dependencies
|
||||||
|
|
||||||
|
sudo apt install software-properties-common apt-transport-https ca-certificates curl -y
|
||||||
|
|
||||||
|
poi la key e la repository di google e facciamo un update
|
||||||
|
|
||||||
|
curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg >> /dev/null
|
||||||
|
echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list
|
||||||
|
sudo apt update
|
||||||
|
|
||||||
|
infine installiamo Google Chrome
|
||||||
|
|
||||||
|
sudo apt install google-chrome-stable
|
||||||
|
|
||||||
|
ricontrolliamo nuovamente con
|
||||||
|
|
||||||
|
flutter doctor
|
||||||
|
|
||||||
|
ora non resta che installare Android Studio
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue