Install AWS Command Line Interface on Manjaro Linux

install AWS CLI on Manjaro

Hello Manjaro users, welcome to my website. Today we are going to install AWS CLI on Manjaro Linux. The AWS CLI is an open source program that was built on top of AWS SDK for Python. It provides command to interactively communicate with the AWS services. With a little efforts, we can use all functionality of tht AWS Management Console from our Terminal. For example, we can use this command line to upload a file to Amazon S3 storage directly from Terminal. From more complete information, please visit the official website.

Install AWS CLI on Manjaro Linux

Before we go through, if you are Ubuntu or Debian users, you may check our previous tutorial to install AWS CLI on Debian 9 Stretch. Also don’t forget to check our Linux Ultimate Guide for beginners. The primary distribution method for AWS CLI is using pip, a Python package manager that offers an easy way to install, upgrade python packages and dependencies.

Step 1. Install Python

AWS CLI requires Python to work. Now check if you have Python 3 installed on your Manjaro Linux. 

Make sure you have Python version 3 or newer. 

If you don’t have Python 3, you need to install it first. 

Step 2. Install pip

Next, we need to install pip. Use the following command on Terminal to install pip

Output

Step 3. Install AWS CLI

Now we are ready to install AWS Cli on Manjaro Linux. Type the following command on Manjaro Terminal. Please prepare you Amazon secret id and secret key in hands. You will need it.

Output:

Step 4. Configure aws cli

At this point, we were successfully installed aws in user mode. But, you may still got an error when trying to run aws command. To do this, we need to modify some stuffs. 

Modify PATH variable

Usually, aws is installed under ~/.local/bin directory. Now use this command to add this path to our profile script. 

This command will add the path of ~/.local/bin to the current PATH variable. 

Reload the profile into current session

Done. Now aws command should works. Lets start by checking its version
That’s it. We are successfully install AWS CLI on Manjaro Linux. We may post more tutorial on how to use aws command to backup Linux to Amazon S3 and other stuffs. Cheers.

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*