{"id":5597,"date":"2021-04-12T18:24:58","date_gmt":"2021-04-12T18:24:58","guid":{"rendered":"https:\/\/linuxways.net\/?p=5597"},"modified":"2021-04-12T18:24:58","modified_gmt":"2021-04-12T18:24:58","slug":"install-amazon-web-service-cli-on-linux-mint-20","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/mint\/install-amazon-web-service-cli-on-linux-mint-20\/","title":{"rendered":"Install Amazon Web Service CLI on Linux Mint 20"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>The Amazon Web Service Command Line Interface or AWS CLI is a platform for managing the AWS services. With the help of this single unified tool, you can manage multiple AWS services through the CLI and perform their automation with the help of scripts. We will learn to install the Amazon Web Service CLI on a Linux Mint 20 system today.<\/p>\n<h2>Method of Installing Amazon Web Service CLI on Linux Mint 20:<\/h2>\n<p>For installing the Amazon Web Service CLI on Linux Mint 20, you will have to perform the following steps:<\/p>\n<h3>Step # 1: Update your Linux Mint 20 System:<\/h3>\n<p>Before installing the AWS CLI on your Linux Mint 20 system, you need to update its cache with the command shown below:<\/p>\n<pre><strong>$ sudo apt-get update<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"401\" height=\"23\" class=\"wp-image-5598\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-12.png 401w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-12-300x17.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/strong><\/p>\n<p>The relevant packages and dependencies of your Linux Mint 20 system will take some time to update after which you will be able to install the AWS CLI on your Linux Mint 20 system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"409\" class=\"wp-image-5599\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-13.png 645w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-13-300x190.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/p>\n<h3>Step # 2: Install the Amazon Web Service CLI on Linux Mint 20:<\/h3>\n<p>To install the AWS CLI on your Linux Mint 20 system, you will have to execute the following command in your terminal:<\/p>\n<pre><strong>$ sudo apt-get install awscli \u2013y<\/strong><\/pre>\n<p>We have used the \u201c-y\u201d flag over here so that this command does not ask for confirmation while execution. However, you can even omit it if you want.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"25\" class=\"wp-image-5600\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-14.png 489w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-14-300x15.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/p>\n<p>Once the AWS CLI has been successfully installed on your Linux Mint 20 system, you will see the messages shown in the image below on your system\u2019s terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"411\" class=\"wp-image-5601\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-15.png 646w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-15-300x191.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/p>\n<h3>Step # 3: Verify the Installation of the Amazon Web Service CLI on Linux Mint 20:<\/h3>\n<p>You can confirm the successful installation of the AWS CLI on your Linux Mint 20 system by checking its version with the following command:<\/p>\n<pre><strong>$ aws --version<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"25\" class=\"wp-image-5602\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-16.png 350w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-16-300x21.png 300w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/p>\n<p>The version of the AWS CLI installed on our Linux Mint 20 system is 1.18.69 as you can see from the image shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"58\" class=\"wp-image-5603\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-17.png 556w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-17-300x31.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<h2>Method of Removing Amazon Web Service CLI from Linux Mint 20:<\/h2>\n<p>Whenever you want to uninstall the AWS CLI from your Linux Mint 20 system, you can do this by executing the following command in your terminal:<\/p>\n<pre><strong>$ sudo apt-get purge awscli<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"448\" height=\"27\" class=\"wp-image-5604\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-18.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-18.png 448w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-18-300x18.png 300w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\" \/><\/strong><\/p>\n<p>This command will immediately uninstall the AWS CLI and all of its configuration files from your Linux Mint 20 system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"639\" height=\"296\" class=\"wp-image-5605\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-19.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-19.png 639w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-19-300x139.png 300w\" sizes=\"auto, (max-width: 639px) 100vw, 639px\" \/><\/p>\n<p>After that, you can also attempt to remove all of those additional packages and dependencies that are no longer needed after the uninstallation of the AWS CLI from your Linux Mint 20 system. This can be done by executing the command shown below in your terminal:<\/p>\n<pre><strong>$ sudo apt-get autoremove<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"23\" class=\"wp-image-5606\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-20.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-20.png 432w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-20-300x16.png 300w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/strong><\/p>\n<p>This command will clear up all the additional packages and dependencies from your Linux Mint 20 system hence freeing up the space that they had occupied on your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"411\" class=\"wp-image-5607\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-21.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-21.png 620w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/04\/word-image-21-300x199.png 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/p>\n<h2>Conclusion:<\/h2>\n<p>By following today\u2019s article, you will be able to install the AWS CLI very conveniently on your Linux Mint 20 system and use it for managing the Amazon Web Services very efficiently.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: The Amazon Web Service Command Line Interface or AWS CLI is a platform for managing the AWS services. With the help of this single unified tool, you&hellip;<\/p>","protected":false},"author":1,"featured_media":5688,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[261,129],"class_list":["post-5597","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mint","tag-amazon-web-service","tag-linux-mint-20"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/5597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=5597"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/5597\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/5688"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=5597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=5597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=5597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}