Flutter on CentOS 7?

Objective: to install Google’s Flutter SDK on CentOS 7.

Latest update 12/3/18: still not working.

Steps:

First, followed the instructions on Flutter’s site for installing on Linux:

https://flutter.io/setup-linux/

Cloned the beta branch of the repository and then added the flutter tool to my path:

Then ran Flutter doctor – to see if any dependencies need to be installed.

Doctor returned the following error:

[!] Flutter (Channel beta, v0.0.0-unknown, on Linux, locale en_US.UTF-8)

✗ Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)

Searched github issues and found:

https://github.com/flutter/flutter/issues/6207

For Ubuntu, this error was fixed by:

sudo apt-get install lib32stdc++6

I’m on CentOS 7, so instead:

sudo yum install lib32stdc++6

Got this error from yum:

No package lib32stdc++6 available.

Error: Nothing to do

Then tried this suggestion on https://stackoverflow.com/questions/35271553/no-package-lib32z1-lib32ncurses5-lib32stdc6-available-in-centos

sudo yum install libstdc++*

Yum installed it, then ran Flutter doctor again but got same error again:

[!] Flutter (Channel beta, v0.0.0-unknown, on Linux, locale en_US.UTF-8)

✗ Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)

Will pick up tomorrow.