官术网_书友最值得收藏!

Installing the AWS CLI package

The AWS CLI utility is written in Python. While there are several ways to install it, we will use PyPA, the Python package manager, to install this tool.

To install PyPA, depending on your OS, you will need to run the following commands:

  • On Windows:
$ sudo apt install python-pip
  • On macOS X:
$ sudo easy_install pip
  • On Debian-based Linux distributions:
$ sudo apt-get install python-pip python-dev build-essential  
  • On Red Hat/CentOS-based Linux distributions:
    $ sudo yum -y install python-pip  

Once PyPA is installed, you will get access to the pip command.

Lastly, to install the AWS CLI using the pip command, you simply need to run the following command:

$ sudo pip install --upgrade --user awscli 

If you get an output to upgrade your pip version to the latest available level, execute pip install --upgrade pip.

We have demonstrated all of the outputs from CentOS-based Linux distribution but the process is equally applicable on all of the mentioned supported platforms.
主站蜘蛛池模板: 临清市| 崇明县| 农安县| 上虞市| 抚远县| 大化| 积石山| 扶沟县| 闻喜县| 昌都县| 洛宁县| 陵川县| 水城县| 牡丹江市| 都安| 金寨县| 西盟| 井研县| 威远县| 芦山县| 西乌珠穆沁旗| 汤阴县| 天长市| 方城县| 山丹县| 长汀县| 丹凤县| 洛川县| 武定县| 积石山| 桦川县| 星子县| 九寨沟县| 准格尔旗| 健康| 马公市| 资阳市| 平定县| 天水市| 平利县| 开阳县|