Skip to content

Instantly share code, notes, and snippets.

@siriokun
Last active November 18, 2021 06:56
Show Gist options
  • Save siriokun/9e211026edbc0352f80811bbc1a5d5da to your computer and use it in GitHub Desktop.
Save siriokun/9e211026edbc0352f80811bbc1a5d5da to your computer and use it in GitHub Desktop.
flutter
git clone https://github.com/flutter/flutter.git -b stable
cd flutter
pwd # this will show your current path to replace [PATH_OF_FLUTTER_GIT_DIRECTORY]
sudo nano $HOME/.bashrc
export PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"
echo $PATH
which flutter dart
flutter config --no-analytics
flutter precache
flutter doctor
flutter doctor --android-licenses
flutter doctor
sudo apt-get install cpu-checker
egrep -c '(vmx|svm)' /proc/cpuinfo # if greater than 1 then it support KVM
sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils
kvm-ok # check if kvm enabled
@siriokun
Copy link
Author

Enable Virtualization:

sudo service libvirtd start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment