aws, amazon linux 2,

Install Boto3 on Amazon Linux 2

Feb 23, 2023 · 1 min read · Post a comment

To be able to manage your AWS infrastructure through python you need to install boto3, which is python SDK for AWS. If you want to proceed with the installation step, you need to have python and pip installed already.


  • Amazon Linux 2
  • sudo privileges
  • Python installed
  • Pip installed

Install Boto3 on Amazon Linux 2

Step 1. The installation goes through pip.

pip install boto3

Step 2. If you are using python3.

pip3 install boto3

Step 3. If that doesn’t work for some reason you can try the following.

python -m pip install boto3


python3 -m pip install boto3


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.