Flutter on CentOS 7?

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

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


First, followed the instructions on Flutter’s site for installing on 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:


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.

Packages in Anaconda

I am working on three projects, and initially set up a separate environment for each. However, it was taking so long to switch between the environments that I’ve reverted to a single environment for now.

Ran pip to install the following Python packages into this environment:

Dash (the back-end)

flash-compress, plotly

Dash-renderer (the front-end)





Anaconda on CentOS 7

Finally got round to installing Anaconda (the Python distribution) on CentOS. I followed this article at Linux Hint. Launched Anaconda Navigator from Terminal, then created new environment. Installed the git and Jupyter packages into it. Opened a terminal window in the new environment. Everything is working fine so far.

Some background: Last year I had frequent problems (random crashes) when running Anaconda on OS X, so then I installed it on Ubuntu in Virtual Box. Anaconda worked fine, except for the slowness which I expected from a virtual environment. Now that I’ve installed it on a machine dedicated to CentOS, I’m expecting it to work ideally.

Firefox Quantum on Centos 7

This morning, installed Firefox 57 or Quantum via Konsole. Installing a software package on a Linux system is normally done from a terminal window (such as Konsole on CentOS), in contrast to Windows or OS X where an exe or dmg file is simply double-clicked to start the installation. In this case, I downloaded the compressed tar file from the Firefox site, then used the command to extract it in Konsole.

I will try Quantum for a while before making it the default version.

Binary => HDF5 ok

Ran the shell script to download the binary files and convert them to HDF5. First the download failed because the wget utility wasn’t installed. I got wget for El Capitan from rudix.org, then ran the script again, download successful. Then ran convert.jl and this worked too. Two HDF5 files have been created, named train and text. I can open either using h5dump:

Conversion to HDF5

Got the shell script from here: https://github.com/pluskid/Mocha.jl/blob/master/examples/cifar10/get-cifar10.sh

It will download the binary files from the CIFAR-10 dataset and convert them to HDF5 format which is readable by Mocha ( this script calls convert.jl to do the conversion).

Step forwards

Resolved the HDF5 error by pushing the path line to Julia config file (as suggested in the HDF5 installation docs).

push!(Libdl.DL_LOAD_PATH, “/opt/local/lib”)

So the problem before was that HDF5 was installed but Julia wasn’t seeing it.

problems installing HDF5 

To recap, got this error on running the Julia convert script:

UndefVarError: h5open not defined

in macro expansion; at ./REPL[9]:2 [inlined]

So the HDF5 module is not correctly installed, although I’d assumed it was when I ran convert.jl.

The top line of output from the compiler confirms that:

ERROR: LoadError: LoadError: HDF5 not properly installed. Please run Pkg.build(“HDF5”)

So reinstalled HDF5 as recommended:

julia> Pkg.build(“HDF5”)

Getting build errors…. and the compiler suggests:

— build the package(s) and all dependencies with `Pkg.build(“HDF5”)`

– build a single package by running its `deps/build.jl` script

But I’ve already tried the package manager build twice without success, so next I’ll try cloning the HDF5 code from Github.