aws/aws-cli

Change INSTALL_DIR default for aws2

lousyd opened this issue · 2 comments

In the installer for aws2, the default INSTALL_DIR is /usr/local/aws-cli. I suggest changing it to /opt/aws-cli. The /usr/local hierarchy is not set up for installing whole packages in one subdirectory. It is split into different directories for bin files, source files, libraries, etc. Creating a new directory in /usr/local for aws2 breaks this convention.

Also, the Filesystem Hierarchy Standard, for Linux systems, says that no other directories should exist in /usr/local. It does however, specify a place for vendor package trees: /opt.

I suggest changing the default INSTALL_DIR for the aws2 installer to /opt/aws-cli. Nothing else needs to be changed to support changing that default. The /opt directory works exactly like the installer is expecting.

We would need to think about changing it to /opt/aws-cli. In the meantime though, you can control where the install dir lives using the -i parameter. So something like:

$ ./install -i /opt/aws-cli

Also, you can get a full list of the install options by running: ./install --help

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.