pythonpipamazon-linuxamazon-linux-2023

Amazonlinux2023 install hardended version of pip for python


I want to sue amazonlinux2023 with as few "un-hardened" packages as possible.

AL2023 ships with python but not pip

So what is the correct way to get a "hardened" version of pip corresponding to the python package that's shipped?

Is python3 -m ensurepip sufficient?

thanks


Solution

  • The Amazon Linux 2023 packages list lists a package called python3-pip.

    If you want to stay on the narrow supported path, I'd just go and install that.