As I'll need to install the layrst version of Python, will need to install a particular repository - Inline with Upstream Stable (IUS) - that provides rpm packages for new versions of selected software.
If I was using CentOS 7, would run
yum -y install https://centos7.iuscommunity.org/ius-release.rpm
and then for installing Python would do something like
yum -y install python36u
If I try to run the initial command, then I get in the first command
> Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
>
> Cannot open: https://centos7.iuscommunity.org/ius-release.rpm . Skipping.
>
> Error: Nothing to do
and in the second
> Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 3.7 kB 00:00:00
>
> No package python36u available.
> Error: Nothing to do
All in all,
----------
Considering I'm now using Amazon Linux 2,
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/ "
what would be the equivalent commands for Amazon Linux 2?



Asked by Tiago Peres
(75 rep)
Oct 6, 2020, 05:47 AM
Last activity: Oct 15, 2020, 01:54 PM
Last activity: Oct 15, 2020, 01:54 PM