How to install EC3
the shake of completeness, we include in this section how to install
EC3, but you can find the most recent version of this documentation in
the official documentation of EC3. Also, you can directly deploy a docker container containing the EC3 CLI. More information can be found here. Finally, the docker image is available in Docker Hub.
PyYAML is usually available in distribution repositories (
python-yaml in Debian;
PyYAML in Red Hat; and
PyYAML in pip).
PLY is usually available in distribution repositories (
ply in pip).
Requests is usually available in distribution repositories (
requests in pip).
jsonschema is usually available in distribution repositories (
jsonschema in pip).
sshpass command is required to provide the user with ssh access to the cluster.
First you need to install pip tool. To install them in Debian and Ubuntu based distributions, do:
sudo apt update sudo apt install python-pip
In Red Hat based distributions (RHEL, CentOS, Amazon Linux, Oracle Linux, Fedora, etc.), do:
sudo yum install epel-release sudo yum install which python-pip
Then you only have to call the install command of the pip tool with the ec3-cli package:
sudo pip install ec3-cli
You can also download the last ec3 version from this git repository:
git clone https://github.com/grycap/ec3
Then you can install it calling the pip tool with the current ec3 directory:
sudo pip install ./ec3