Download OpenSSL 1.1.1q source.
Extract and change into source directory. Applied this workaround (should be fixed in next openssl release, "r").
$ mkdir /opt && chown -R veen:staff /opt
$ ./config --prefix=/opt/openssl-1.1.1q
$ make -j 4 && make install
Download Python 3.10.7 source.
Extract and change into the source directory.
$ ./configure --prefix=/opt/python-3.10.7 --with-openssl=/opt/openssl-1.1.1q
$ make -j 4 && make install
Put /opt/python-3.10.7/bin
on your PATH (ahead of /usr/bin).
Install AWS CLI with:
$ cd /opt
$ git clone [email protected]:aws/aws-cli
$ cd aws-cli
$ git checkout v2
$ virtualenv .venv
$ .venv/bin/pip install -r requirements.txt
$ .venv/bin/pip install .
You can now put /opt/aws-cli/.venv/bin
on your path and use aws
.