# Configure the AWS CLI on Linux

**URL:** <https://discourse.sst.dev/t/configure-the-aws-cli-on-linux/1078>\
**Category:** Chapter Comments\
**Created:** [June 15, 2019, 4:54pm UTC](https://discourse.sst.dev/t/configure-the-aws-cli-on-linux/1078 "2019-06-15T16:54:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpoppens](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/cpoppens/32/502_2.png) [@cpoppens](https://discourse.sst.dev/u/cpoppens)\
**Post date:** [June 15, 2019, 4:54pm UTC](https://discourse.sst.dev/t/configure-the-aws-cli-on-linux/1078/1 "2019-06-15T16:54:09Z")

</div>

Using popOS linux with python 2.7 and 3.7 installed, the sudo pip install awscli command will return an error with “pip not found.” Since python is native on linux, I don’t think this is a question of pip not being installed but rather a security thing? I’ve seen forum responses that using pip outside of a virtual environment is not safe, and perhaps this is why I can’t install the awscli from the linux terminal.

The amazon documentation says that another option is installing the awscli in a virtual environment which I guess means that I would have to do everything in this course within a python virtual environment. If I do this, will it make anything else in the course more challenging?

EDIT: I found out that I must use “sudo apt install” to install the programs. Not sure if this should be updated in the course material or not.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [June 17, 2019, 6:20pm UTC](https://discourse.sst.dev/t/configure-the-aws-cli-on-linux/1078/2 "2019-06-17T18:20:54Z")

</div>

What was the set of commands you used to install the CLI?

---

<div class="post-metadata">

**Author:** ![cpoppens](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/cpoppens/32/502_2.png) [@cpoppens](https://discourse.sst.dev/u/cpoppens)\
**Post date:** [June 17, 2019, 8:11pm UTC](https://discourse.sst.dev/t/configure-the-aws-cli-on-linux/1078/3 "2019-06-17T20:11:01Z")

</div>

I used “sudo apt install awscli.” I think apt is preferred for ubuntu-based linux, but my knowledge of this is minimal to say the least.
