Git Product home page Git Product logo

aws-cli-manager's Introduction

aws-cli-manager

What it is

This is a Makefile to manage the installation of the AWS CLI in a user's home directory on Linux, and to ease the update and removal processes.

There are no official native packages for the AWS CLI. Installing the latest version on a fresh machine is easy, but updating an older version to the latest or uninstalling it is a bit tedious, in that it requires you to remeber/find out where you did install the software last time and where you linked it. This Makefile takes care of it, so that you don't have to.

This Makefile was tested on Debian Linux 10 "Buster". I expect it to work on mostly any Linux distribution but I haven't tested that. Pull requests to make it work on a wider range of Linux distributions are welcome! Pull requests to support other OSs are also welcome!**

Prerequisites

This Makefile requires curl and unzip to be installed on the system in /usr/bin. Just edit the variable definitions at the top of the Makefile if they don't match your system (CURL and UNZIP respectively).

Defaults

These are the defaults defined in the Makefile. You can edit it to suite your taste and needs:

Installation directory

AKA --install-dir in the installer command line. By default it's $HOME/.local/lib/aws-cli, where $HOME is the home directory of the user running make. To change it, edit the INSTALLDIR definition in the Makefile. You can also modify it on make's command line, but it's not recommended.

Binary directory

AKA --bin-dir in the installer command line. By default it's $HOME/bin, where $HOME is the home directory of the user running make. To change it, edit the BINDIR definition in the Makefile. You can also modify it on make's command line, but it's not recommended.

Usage

make or make usage

Will tell you how to use the makefile. Or you can read on.

make install

Will install the AWS CLI

make update

Will update an existing installation of the AWS CLI.

make uninstall

Will wipe the installation.

make clean

Useful in case make left some temporary directories around, for any reason.

aws-cli-manager's People

Contributors

brontolinux avatar

Stargazers

Ed Daniel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.