Install Python 3 on an AWS EC2 instance?


Error: No package python3 available.

sudo yum install python3 -y
Loaded plugins: priorities, update-motd, upgrade-helper
No package python3 available.
Error: Nothing to do

If you get above error, try this commend to Install Python 3 on an AWS EC2 instance

~$ sudo yum list | grep phython3
~$ sudo yum install python34
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
–> Running transaction check
—> Package python34.x86_64 0:3.4.10-1.45.amzn1 will be installed
–> Processing Dependency: python34-libs(x86-64) = 3.4.10-1.45.amzn1 for package: python34-3.4.10-1.45.amzn1.x86_64
–> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package: python34-3.4.10-1.45.amzn1.x86_64
–> Running transaction check
—> Package python34-libs.x86_64 0:3.4.10-1.45.amzn1 will be installed
–> Finished Dependency Resolution

How to install Ansible


 

root@aryan-VirtualBox:~# apt-add-repository ppa:ansible/ansible
Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.

http://ansible.com/
More info: https://launchpad.net/~ansible/+archive/ubuntu/ansible
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]

 

root@aryan-VirtualBox:~# apt-get install ansible
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
python-httplib2 python-jinja2 python-markupsafe python-paramiko
python-pyasn1 python-yaml sshpass
Suggested packages:
python-jinja2-doc python-gssapi
The following NEW packages will be installed:
ansible python-httplib2 python-jinja2 python-markupsafe python-paramiko
python-pyasn1 python-yaml sshpass
0 upgraded, 8 newly installed, 0 to remove and 10 not upgraded.
Need to get 4,369 kB of archives.
After this operation, 36.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Unleash Data Science Create scalable data products fast


GraphLab Create is a Python package that enables developers and data scientists to apply machine learning to build state of the art data products. Get started fast with our fully customizable GraphLab DataApps. GraphLab Create is fast, scalable and makes it easy to deploy your apps to the Cloud.

Python

http://graphlab.com/