{"id":15844,"date":"2025-12-08T05:25:14","date_gmt":"2025-12-08T05:25:14","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=15844"},"modified":"2025-12-08T05:25:17","modified_gmt":"2025-12-08T05:25:17","slug":"how-to-install-aws-cli-on-centos-10","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/","title":{"rendered":"How to Install AWS CLI on CentOS 10"},"content":{"rendered":"\n<p>AWS Command Line Interface is a powerful tool for managing Amazon Web Services from your Linux terminal. The AWS Command Line Interface (AWS CLI) gives you access to all AWS services with simple commands. This guide will show you how to install the AWS CLI using multiple methods on CentOS 10, each of which is explained in detail and step-by-step. Once installed, you configure it with awsconfig by entering your AWS Secret Key, Access Key, and region.<\/p>\n\n\n\n<p><strong>Table of Contents<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#How-to-Install-AWS-CLI-on-CentOS-10\">How to Install AWS CLI on CentOS 10<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Method-1:-Install-AWS-CLI-Using-the-Official-AWS-Bundled-Installer\">Method 1: Install AWS CLI Using the Official AWS Bundled Installer<\/a><\/li>\n\n\n\n<li><a href=\"#Method-2:-Install-AWS-CLI-Using-pip-(Python-Package-Manager)\">Method 2: Install AWS CLI Using pip (Python Package Manager)<\/a><\/li>\n\n\n\n<li><a href=\"#Method-3:-Install-AWS-CLI-Using-CentOS-Repository-(Older-Versions-Only)\">Method 3: Install AWS CLI Using CentOS Repository (Older Versions Only)<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#How-to-Configure-AWS-CLI-on-CentOS-10\">How to Configure AWS CLI on CentOS 10<\/a><\/li>\n\n\n\n<li><a href=\"#How-to-Completely-Uninstall-AWS-CLI-from-CentOS-10\">How to Completely Uninstall AWS CLI from CentOS 10<\/a><\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Install-AWS-CLI-on-CentOS-10\"><a id=\"post-15844-_jrjcil17wy66\"><\/a>How to Install AWS CLI on CentOS 10<\/h2>\n\n\n\n<p>Installing AWS CLI in CentOS 10 requires updating your system. You can then download and unzip the official AWS installer. Run the installation script and confirm your installation using the aws-version command. Alternatively, you can use Python pip to install it with pip3 install &#8211;upgrade &#8211;user, or the CentOS repository using sudo dnf.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-1:-Install-AWS-CLI-Using-the-Official-AWS-Bundled-Installer\"><a id=\"post-15844-_ktoj5xh9mp1e\"><\/a>Method 1: Install AWS CLI Using the Official AWS Bundled Installer<\/h2>\n\n\n\n<p>This method is recommended as it installs AWS CLI directly from Amazon.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_3b76aef86t9z\"><\/a>Step 1: Update System Packages<\/h3>\n\n\n\n<p>It&#8217;s important to make sure your system is updated before installing anything.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>sudo dnf update<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"964\" height=\"497\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-1.png\" alt=\"sudo dnf update\" class=\"wp-image-15845\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-1.png 964w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-1-300x155.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-1-768x396.png 768w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_i6jamq22scpc\"><\/a>Step 2: Install Required Dependencies<\/h3>\n\n\n\n<p>Unzip is required to extract the installation files from AWS CLI.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>sudo dnf install unzip<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"969\" height=\"240\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-2.png\" alt=\"sudo dnf install unzip\" class=\"wp-image-15846\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-2.png 969w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-2-300x74.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-2-768x190.png 768w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_yr47bww7wtkj\"><\/a>Step 3: Download the AWS CLI Bundle<\/h3>\n\n\n\n<p>You can download the AWS installer zip file.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>curl &#8220;https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64.zip&#8221; -o &#8220;awscliv2.zip&#8221;<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"974\" height=\"186\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-3.png\" alt=\"curl &quot;https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64.zip&quot; -o &quot;awscliv2.zip&quot;\" class=\"wp-image-15847\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-3.png 974w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-3-300x57.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-3-768x147.png 768w\" sizes=\"(max-width: 974px) 100vw, 974px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_yu04uasnm4j8\"><\/a>Step 4: Unzip the Installer<\/h3>\n\n\n\n<p>Download the ZIP file and extract it to install.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>unzip awscliv2.zip<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"94\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-4.png\" alt=\"unzip awscliv2.zip\" class=\"wp-image-15848\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-4.png 973w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-4-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-4-768x74.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-4-960x94.png 960w\" sizes=\"(max-width: 973px) 100vw, 973px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_uhen45di5yoq\"><\/a>Step 5: Run the Installer<\/h3>\n\n\n\n<p>Install AWS CLI by executing the script.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>sudo .\/aws\/install<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"967\" height=\"134\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-5.png\" alt=\"sudo .\/aws\/install\" class=\"wp-image-15849\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-5.png 967w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-5-300x42.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-5-768x106.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-5-960x134.png 960w\" sizes=\"(max-width: 967px) 100vw, 967px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_optrvnutu9i9\"><\/a>Step 6: Verify AWS CLI Installation<\/h3>\n\n\n\n<p>AWS CLI should be installed and running.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>aws &#8211;version<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"117\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-6.png\" alt=\"aws --version\" class=\"wp-image-15850\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-6.png 964w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-6-300x36.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-6-768x93.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-6-960x117.png 960w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-2:-Install-AWS-CLI-Using-pip-(Python-Package-Manager)\"><a id=\"post-15844-_103pj46qmekm\"><\/a>Method 2: Install AWS CLI Using pip (Python Package Manager)<\/h2>\n\n\n\n<p>This method can be useful if you wish to install multiple versions of AWS CLI or manage AWS via Python.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_s5ej6emf79bl\"><\/a>Step 1: Install Python and pip<\/h3>\n\n\n\n<p>Install CLI using pip, which requires Python and pip.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>sudo dnf install python3 python3-pip<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"444\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-7.png\" alt=\"sudo dnf install python3 python3-pip\" class=\"wp-image-15851\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-7.png 972w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-7-300x137.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-7-768x351.png 768w\" sizes=\"(max-width: 972px) 100vw, 972px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_ze8q9ra7pt4u\"><\/a>Step 2: Install AWS CLI Using pip<\/h3>\n\n\n\n<p>Install AWS CLI using Python&#8217;s Package Manager.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>pip3 install awscli &#8211;upgrade &#8211;user<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"525\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-8.png\" alt=\"pip3 install awscli --upgrade --user\" class=\"wp-image-15852\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-8.png 968w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-8-300x163.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-8-768x417.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-8-960x520.png 960w\" sizes=\"(max-width: 968px) 100vw, 968px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_5y4tfbl6b70y\"><\/a>Step 3: Add AWS CLI to PATH<\/h3>\n\n\n\n<p>Install AWS CLI using Python&#8217;s Package Manager.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>export PATH=$PATH:~\/.local\/bin<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"87\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-9.png\" alt=\"export PATH=$PATH:~\/.local\/bin\" class=\"wp-image-15853\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-9.png 971w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-9-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-9-768x69.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-9-960x87.png 960w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_adkmmrilderi\"><\/a>Step 4: Verify AWS CLI Version<\/h3>\n\n\n\n<p>Install the CLI properly.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>aws &#8211;version<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"105\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-10.png\" alt=\"aws --version\" class=\"wp-image-15854\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-10.png 969w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-10-300x33.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-10-768x83.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-10-960x105.png 960w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-3:-Install-AWS-CLI-Using-CentOS-Repository-(Older-Versions-Only)\"><a id=\"post-15844-_epaea6mylsdf\"><\/a>Method 3: Install AWS CLI Using CentOS Repository (Older Versions Only)<\/h2>\n\n\n\n<p>CentOS repos can include older AWS versions that are good for basic use.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_syvi47dd5hoe\"><\/a>Step 1: Install AWS CLI Package<\/h3>\n\n\n\n<p>Install AWS CLI from the default CentOS repositories.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>sudo dnf install awscli<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"495\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-11.png\" alt=\"sudo dnf install awscli\" class=\"wp-image-15855\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-11.png 964w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-11-300x154.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-11-768x394.png 768w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15844-_vhlc8pfv0i8p\"><\/a>Step 2: Verify Installation<\/h3>\n\n\n\n<p>Verify the CLI version you have installed.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>\/usr\/bin\/aws &#8211;version<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"139\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-12.png\" alt=\"\/usr\/bin\/aws --version\" class=\"wp-image-15856\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-12.png 969w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-12-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-12-768x110.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-12-960x139.png 960w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Configure-AWS-CLI-on-CentOS-10\"><a id=\"post-15844-_5h7tukffjxjy\"><\/a>How to Configure AWS CLI on CentOS 10<\/h2>\n\n\n\n<p>You must configure AWS CLI using your AWS Access Key (also known as Secret Key) and AWS Secret Key once it is installed.<\/p>\n\n\n\n<p>This interactive wizard configures authentication and region defaults.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>\/usr\/bin\/aws configure<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"196\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-13.png\" alt=\"\/usr\/bin\/aws configure\" class=\"wp-image-15857\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-13.png 972w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-13-300x60.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-13-768x155.png 768w\" sizes=\"(max-width: 972px) 100vw, 972px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You\u2019ll be asked for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>AWS Access Key ID<\/li>\n\n\n\n<li>AWS Secret Access Key<\/li>\n\n\n\n<li>Default region name (e.g., us-east-1)<\/li>\n\n\n\n<li>Default output format (e.g., json) <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Completely-Uninstall-AWS-CLI-from-CentOS-10\"><a id=\"post-15844-_d4daoluk22p6\"><\/a>How to Completely Uninstall AWS CLI from CentOS 10<\/h2>\n\n\n\n<p>Uninstall AWS CLI V2 (Bundled Installer Version)<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>sudo rm \/usr\/local\/bin\/aws<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"111\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-14.png\" alt=\"sudo rm \/usr\/local\/bin\/aws\" class=\"wp-image-15858\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-14.png 969w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-14-300x34.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-14-768x88.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-14-960x111.png 960w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Uninstall the AWS CLI installed via pip<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>pip3 uninstall awscli<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"399\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-15.png\" alt=\"pip3 uninstall awscli\" class=\"wp-image-15859\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-15.png 969w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-15-300x124.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-15-768x316.png 768w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Uninstall AWS CLI Installed from Repo<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\n<p>sudo dnf remove awscli -y<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"444\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-16.png\" alt=\"sudo dnf remove awscli -y\" class=\"wp-image-15860\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-16.png 971w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-16-300x137.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15844-16-768x351.png 768w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>That is all from the installation of AWS CLI on CentOS 10.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-15844-_vmhdowyq04bw\"><\/a>Conclusion<\/h2>\n\n\n\n<p>AWS CLI installation on CentOS 10 can be done in a variety of ways, depending on what you need. AWS&#8217;s official bundled installer offers the most flexibility, while DNF repositories offer quick installation of older versions. AWS CLI is a powerful tool that lets you securely and efficiently manage cloud resources from your Linux terminal. It&#8217;s a must-have for developers, DevOps engineers, and system administrators.<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>AWS Command Line Interface is a powerful tool for managing Amazon Web Services from your Linux terminal. The AWS Command Line Interface (AWS CLI) gives you access to all AWS services with simple commands. This guide will show you how to install the AWS CLI using multiple methods on CentOS 10, each of which is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":15863,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[984,983,958],"class_list":["post-15844","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-amazon","tag-aws-cli","tag-centos-10"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install AWS CLI on CentOS 10 - Greenwebpage Community<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/\" \/>\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 CentOS 10 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"AWS Command Line Interface is a powerful tool for managing Amazon Web Services from your Linux terminal. The AWS Command Line Interface (AWS CLI) gives you access to all AWS services with simple commands. This guide will show you how to install the AWS CLI using multiple methods on CentOS 10, each of which is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-08T05:25:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T05:25:17+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install AWS CLI on CentOS 10\",\"datePublished\":\"2025-12-08T05:25:14+00:00\",\"dateModified\":\"2025-12-08T05:25:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/\"},\"wordCount\":665,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg\",\"keywords\":[\"Amazon\",\"AWS CLI\",\"CentOS 10\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/\",\"name\":\"How to Install AWS CLI on CentOS 10 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg\",\"datePublished\":\"2025-12-08T05:25:14+00:00\",\"dateModified\":\"2025-12-08T05:25:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Install AWS CLI on CentOS 10\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install AWS CLI on CentOS 10\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install AWS CLI on CentOS 10 - Greenwebpage Community","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:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Install AWS CLI on CentOS 10 - Greenwebpage Community","og_description":"AWS Command Line Interface is a powerful tool for managing Amazon Web Services from your Linux terminal. The AWS Command Line Interface (AWS CLI) gives you access to all AWS services with simple commands. This guide will show you how to install the AWS CLI using multiple methods on CentOS 10, each of which is [&hellip;]","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-12-08T05:25:14+00:00","article_modified_time":"2025-12-08T05:25:17+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install AWS CLI on CentOS 10","datePublished":"2025-12-08T05:25:14+00:00","dateModified":"2025-12-08T05:25:17+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/"},"wordCount":665,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg","keywords":["Amazon","AWS CLI","CentOS 10"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/","name":"How to Install AWS CLI on CentOS 10 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg","datePublished":"2025-12-08T05:25:14+00:00","dateModified":"2025-12-08T05:25:17+00:00","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-Install-AWS-AWS-CLI-on-CentOS-10.jpg","width":1020,"height":600,"caption":"How to Install AWS CLI on CentOS 10"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-aws-cli-on-centos-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install AWS CLI on CentOS 10"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=15844"}],"version-history":[{"count":2,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15844\/revisions"}],"predecessor-version":[{"id":15862,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15844\/revisions\/15862"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/15863"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=15844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=15844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=15844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}