-
Notifications
You must be signed in to change notification settings - Fork 47
flutter elinux install
Hidenori Matsubayashi edited this page Aug 30, 2023
·
14 revisions
You need to install the following dependent libraries to use this software. Here introduce how to install the libraries on Debian-based systems like Ubuntu.
Currently, this tool supports only Linux desktop (not supoort Windows and macOS). Ubuntu 20.04 or higher is recommended. Also, x64 and Arm64 Linux desktop are supported.
- curl
- git
- clang
- unzip
- cmake (>= 3.15)
- pkg-config
sudo apt install curl unzip git clang cmake pkg-config
git clone https://github.com/sony/flutter-elinux.git
sudo mv flutter-elinux /opt/
export PATH=$PATH:/opt/flutter-elinux/bin
flutter-elinux doctor
elinux-wayland
is the flutter app runner for Wayland desktops, and linux-x11
is the flutter runner for X11 desktops.
$ flutter-elinux devices
2 connected devices:
eLinux (desktop) • elinux-wayland • flutter-tester • Ubuntu 20.04.2 LTS 5.8.0-63-generic
eLinux (desktop) • elinux-x11 • flutter-tester • Ubuntu 20.04.2 LTS 5.8.0-63-generic
See also: https://github.com/sony/flutter-embedded-linux/wiki/Installing-dependent-libraries
- EGL
- OpenGL ES (>=2.0)
- xkbcommon
sudo apt install libegl1-mesa libgles2-mesa libxkbcommon-dev
- libwayland
sudo apt install libwayland-dev
- libdrm
- libgbm
- libinput
- libudev
- libsystemd
sudo apt install libdrm-dev libgbm-dev libinput-dev libudev-dev libsystemd-dev