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

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.
主站蜘蛛池模板: 涿州市| 怀远县| 台江县| 邓州市| 衡阳市| 砚山县| 涞源县| 金沙县| 新巴尔虎左旗| 财经| 包头市| 磴口县| 盐池县| 璧山县| 荣昌县| 茌平县| 大同市| 根河市| 平顺县| 钟山县| 井研县| 永昌县| 阿瓦提县| 东平县| 芦山县| 沂南县| 武隆县| 鹰潭市| 甘孜县| 厦门市| 阆中市| 鹤峰县| 临潭县| 乌兰察布市| 宿松县| 运城市| 昆山市| 万荣县| 平武县| 齐齐哈尔市| 怀化市|