How to build/install awscli2
on FreeBSD?
#7168
Replies: 4 comments 7 replies
-
We don't recommend using third-party packaging/distributions services for installing the AWS CLI. Please refer to this documentation for the official AWS CLI installation instructions: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html |
Beta Was this translation helpful? Give feedback.
-
I'm stuck here too. My plan was just PIP install it, but I get this:
It's really a bummer. AWS CLI tools should just be a collection of Python scripts, so I'm not sure why they'd stick OS/Platform restrictions on it. |
Beta Was this translation helpful? Give feedback.
-
Here is how I got got this working on The following process assumes:
Of course if you just want a local / user install you're free to remove the
The build will take some time and will execute various backend dependency builds. This include C and Rust compilation. You'll know it's working if the c compiler process being used during the build is Specifying the By the time you read this guide you may be able to remove For more details, see: If all goes well, you'll get:
You can now access
Note that by doing the global package install in step 5, you may be walking on existing For my setup, I just wanted a working backup server running Hope this helps someone out. |
Beta Was this translation helpful? Give feedback.
-
I haven't tried the build process by @dylanneild, but FWIW I just upgraded to 14.3 and the Linux emulator solution still works fine & dandy:
Commands for great success:
Open installers.py with your favorite editor and modify the install_multiplatform() function so that there is match:
Run awscliv2 --install and you should be good to go. For anyone curious about the docker solution, seems the docker package isn't setup to run as a daemon:
I can't find an easy solution. Really seems the FreeBSD package should just do the emulation option. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There are ports for
awscli1
for FreeBSD: https://www.freshports.org/devel/awscliBut I cannot find the way to install or build
awscli2
on FreeBSD.Linuxbrew
does not have support for FreeBSD either, so it is not possible to getawscli2
from there as well.Are there any workarounds?
Beta Was this translation helpful? Give feedback.
All reactions