{"id":1991,"date":"2020-10-27T09:07:32","date_gmt":"2020-10-27T09:07:32","guid":{"rendered":"https:\/\/ubiq.co\/tech-blog\/?p=1991"},"modified":"2025-08-25T04:29:10","modified_gmt":"2025-08-25T04:29:10","slug":"how-to-install-aws-cli-on-linux","status":"publish","type":"post","link":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/","title":{"rendered":"How to Install AWS CLI on Linux"},"content":{"rendered":"\n<p>Amazon Web Services (AWS) is one of the most popular cloud-based services used by millions of users and organizations. It provides a vast range of services to run websites and apps on the internet. However, it can be difficult to manage them all from one place. AWS CLI is a command line tool that allows you to manage the different AWS services from one place, using command line. It also allows you to automate AWS management using scripts. Here is how to install AWS CLI on Linux. You can use these steps to install AWS CLI on Ubuntu, CentOS. We will also look at how to check if AWS CLI is installed and how to access AWS CLI.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#What_is_AWS_CLI\" >What is AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#How_to_Install_AWS_CLI_on_Linux\" >How to Install AWS CLI on Linux<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#Ubuntu_Debian_Linux\" >Ubuntu\/ Debian Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#Fedora_and_CentOS\" >Fedora and CentOS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#CentOS_7_and_Red_hat_Linux\" >CentOS 7 and Red hat Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#Install_Using_Python\" >Install Using Python<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#Install_Using_Source\" >Install Using Source<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#How_to_Configure_AWS_CLI\" >How to Configure AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#AWS_CLI_Commands\" >AWS CLI Commands<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_AWS_CLI\"><\/span>What is AWS CLI<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>AWS CLI is a command line tool to provide a single interface to interact with and manage all your AWS services from one place. It allows you to view and control different services in your AWS account. You can use AWS to connect to various AWS services, automate them using scripts, manage additional user profiles and make API calls. It is very useful for system administrator to easily manage their AWS Services from one tool. <br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Install_AWS_CLI_on_Linux\"><\/span>How to Install AWS CLI on Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are the command to install AWS CLI on different Linux systems.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ubuntu_Debian_Linux\"><\/span>Ubuntu\/ Debian Linux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can easily install AWS CLI on Debian\/Ubuntu systems using apt package manager.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ <code>sudo apt install awscli<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fedora_and_CentOS\"><\/span>Fedora and CentOS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>DNF package manager allows you to install AWS CLI on Fedora and CentOS&gt;=8 systems.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ <code>sudo dnf install awscli<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CentOS_7_and_Red_hat_Linux\"><\/span>CentOS 7 and Red hat Linux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can install AWS CLI on RHEL and CentOS &lt;=7 systems.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ <code>sudo yum install awscli<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Using_Python\"><\/span>Install Using Python<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can also use Python&#8217;s PIP package manager to install AWS CLI. Here is the command to install PIP, if not present already.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt-get install python3-pip<\/pre>\n\n\n\n<p>Once you have installed PIP, you can install AWS CLI with the following command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo pip install awscli<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Using_Source\"><\/span>Install Using Source<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can also download and install AWS CLI from source. Here is the command to download CLI version 2.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ curl \"https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64.zip\" \\<br>    -o \"awscliv2.zip\"<\/pre>\n\n\n\n<p>Unzip the downloaded file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ unzip awscliv2.zip<\/pre>\n\n\n\n<p>Install the extracted file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo .\/aws\/install<\/pre>\n\n\n\n<p>Once you have installed the client, you can verify installation with the following command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ awscli --version<\/pre>\n\n\n\n<p>Next, we will look at how to configure AWS CLI.<\/p>\n\n\n\n<p>Bonus Read : <a href=\"https:\/\/ubiq.co\/tech-blog\/top-aws-cost-optimization-best-practices\/\">Top AWS Cost Optimization Best Practices<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Configure_AWS_CLI\"><\/span>How to Configure AWS CLI<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are the steps to access and configure AWS CLI for use.<\/p>\n\n\n\n<p>1. Go to <a href=\"https:\/\/console.aws.amazon.com\/iam\/home#\/security_credentials\" target=\"_blank\" rel=\"noreferrer noopener\">AWS Security Credentials<\/a><\/p>\n\n\n\n<p>2. Expand <strong>Access keys (access key ID and secret access key)<\/strong><\/p>\n\n\n\n<p>3. Click <strong>Create New Access Key<\/strong><\/p>\n\n\n\n<p>4. Copy the access key ID and secret access key to a secure location.<\/p>\n\n\n\n<p>5. Open terminal and run the following command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">  $ <code>aws configure<\/code><\/pre>\n\n\n\n<p>6. You will see the following prompt. Enter AWS Access Key ID and Secret Access Key. Also specify region name of your EC2 instances, and output format (text\/json) of your commands.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">  AWS Access Key ID [None]: ABCDEFXXXXXXXXDKKDFJ \n  AWS Secret Access Key [None]:       5jksdf9sdfjsdSKSDKSJDFskjf8KDfkfjkFKD \n  Default region name [None]: us-east-1 \n  Default output format [None]:<\/pre>\n\n\n\n<p>That&#8217;s it! You have installed and configured AWS CLI on Linux.<\/p>\n\n\n\n<p>Bonus Read : <a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-enable-nginx-gzip-compression\/\">How to Enable GZIP Compression in NGINX<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"AWS_CLI_Commands\"><\/span>AWS CLI Commands<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are some handy AWS CLI commands for your reference.<\/p>\n\n\n\n<p>Here&#8217;s the command to get a list of all available commands with their use, in AWS CLI. You can also use this command to check if AWS is installed.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$aws help<\/pre>\n\n\n\n<p>List all EC2 instances in AWS<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ <code>aws ec2 describe-instances<\/code><\/pre>\n\n\n\n<p>List EC2 instances from specific zone<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ <code>aws ec2 describe-instances --region=us-east-1<\/code><\/pre>\n\n\n\n<p>Get status of specific EC2 instance (replace your_instance_id below with your instance ID)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ aws ec2 describe-instances --instance-id <em>your_instance_id<\/em><\/pre>\n\n\n\n<p>List S3 buckets<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ <code>aws s3 list<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Hopefully, this article will help you download, configure, and access AWS CLI to manage your Amazon Web Services account. We have learnt 5 different ways to install AWS CLI on Linux. You can use any of them as per your convenience. AWS CLI is a great way to connect to your AWS account and interact with your services using one tool.<\/p>\n\n\n\n<p><a href=\"https:\/\/ubiq.co\">Ubiq<\/a> makes it easy to visualize data and monitor in real-time dashboards. <a href=\"https:\/\/ubiq.co\/accounts\/register\">Try it<\/a> for free.<\/p>\n\n\n\n<p>Also read:<br><a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-remove-index-php-from-url\/\">How to Remove index.php from URL<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS CLI allows you to manage AWS services via command line interface. Here is how to install AWS CLI on Linux, Ubuntu, CentOS.<\/p>\n","protected":false},"author":1,"featured_media":2003,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[200],"tags":[208],"class_list":["post-1991","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws","tag-install-aws-cli"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install AWS CLI on Linux - Ubiq BI<\/title>\n<meta name=\"description\" content=\"AWS CLI allows you to manage AWS services via command line interface. Here is how to install AWS CLI on Linux, Ubuntu, CentOS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install AWS CLI on Linux - Ubiq BI\" \/>\n<meta property=\"og:description\" content=\"AWS CLI allows you to manage AWS services via command line interface. Here is how to install AWS CLI on Linux, Ubuntu, CentOS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Ubiq BI\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ubiqbi\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-27T09:07:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-25T04:29:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/10\/install-aws-cli.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sreeram Sreenivasan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:site\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sreeram Sreenivasan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/\"},\"author\":{\"name\":\"Sreeram Sreenivasan\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\"},\"headline\":\"How to Install AWS CLI on Linux\",\"datePublished\":\"2020-10-27T09:07:32+00:00\",\"dateModified\":\"2025-08-25T04:29:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/\"},\"wordCount\":641,\"image\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/install-aws-cli.png?fit=600%2C315&ssl=1\",\"keywords\":[\"install aws cli\"],\"articleSection\":[\"AWS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/\",\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/\",\"name\":\"How to Install AWS CLI on Linux - Ubiq BI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/install-aws-cli.png?fit=600%2C315&ssl=1\",\"datePublished\":\"2020-10-27T09:07:32+00:00\",\"dateModified\":\"2025-08-25T04:29:10+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\"},\"description\":\"AWS CLI allows you to manage AWS services via command line interface. Here is how to install AWS CLI on Linux, Ubuntu, CentOS.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/install-aws-cli.png?fit=600%2C315&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/install-aws-cli.png?fit=600%2C315&ssl=1\",\"width\":600,\"height\":315,\"caption\":\"how to install aws cli in linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-install-aws-cli-on-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install AWS CLI on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/\",\"name\":\"Ubiq BI\",\"description\":\"Build dashboards &amp; reports in minutes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\",\"name\":\"Sreeram Sreenivasan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"caption\":\"Sreeram Sreenivasan\"},\"description\":\"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sreeram-sreenivasan\\\/\"],\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/author\\\/wordpress\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install AWS CLI on Linux - Ubiq BI","description":"AWS CLI allows you to manage AWS services via command line interface. Here is how to install AWS CLI on Linux, Ubuntu, CentOS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to Install AWS CLI on Linux - Ubiq BI","og_description":"AWS CLI allows you to manage AWS services via command line interface. Here is how to install AWS CLI on Linux, Ubuntu, CentOS.","og_url":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/","og_site_name":"Ubiq BI","article_publisher":"https:\/\/www.facebook.com\/ubiqbi","article_published_time":"2020-10-27T09:07:32+00:00","article_modified_time":"2025-08-25T04:29:10+00:00","og_image":[{"width":600,"height":315,"url":"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/10\/install-aws-cli.png","type":"image\/png"}],"author":"Sreeram Sreenivasan","twitter_card":"summary_large_image","twitter_creator":"@UbiqBI","twitter_site":"@UbiqBI","twitter_misc":{"Written by":"Sreeram Sreenivasan","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#article","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/"},"author":{"name":"Sreeram Sreenivasan","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"headline":"How to Install AWS CLI on Linux","datePublished":"2020-10-27T09:07:32+00:00","dateModified":"2025-08-25T04:29:10+00:00","mainEntityOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/"},"wordCount":641,"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/10\/install-aws-cli.png?fit=600%2C315&ssl=1","keywords":["install aws cli"],"articleSection":["AWS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/","url":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/","name":"How to Install AWS CLI on Linux - Ubiq BI","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/10\/install-aws-cli.png?fit=600%2C315&ssl=1","datePublished":"2020-10-27T09:07:32+00:00","dateModified":"2025-08-25T04:29:10+00:00","author":{"@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"description":"AWS CLI allows you to manage AWS services via command line interface. Here is how to install AWS CLI on Linux, Ubuntu, CentOS.","breadcrumb":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#primaryimage","url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/10\/install-aws-cli.png?fit=600%2C315&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/10\/install-aws-cli.png?fit=600%2C315&ssl=1","width":600,"height":315,"caption":"how to install aws cli in linux"},{"@type":"BreadcrumbList","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-install-aws-cli-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ubiq.co\/tech-blog\/"},{"@type":"ListItem","position":2,"name":"How to Install AWS CLI on Linux"}]},{"@type":"WebSite","@id":"https:\/\/ubiq.co\/tech-blog\/#website","url":"https:\/\/ubiq.co\/tech-blog\/","name":"Ubiq BI","description":"Build dashboards &amp; reports in minutes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ubiq.co\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc","name":"Sreeram Sreenivasan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","caption":"Sreeram Sreenivasan"},"description":"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.","sameAs":["https:\/\/www.linkedin.com\/in\/sreeram-sreenivasan\/"],"url":"https:\/\/ubiq.co\/tech-blog\/author\/wordpress\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/10\/install-aws-cli.png?fit=600%2C315&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pbGGTT-w7","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/1991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/comments?post=1991"}],"version-history":[{"count":24,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/1991\/revisions"}],"predecessor-version":[{"id":9265,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/1991\/revisions\/9265"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media\/2003"}],"wp:attachment":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media?parent=1991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/categories?post=1991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/tags?post=1991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}