Skip to content

An OpenBSD port for running the AWS Command Line Interface v2 on OpenBSD

Notifications You must be signed in to change notification settings

knightjoel/awscliv2-on-openbsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS Command Line Interface v2 on OpenBSD

This repo contains code which will allow you to build and install the AWS CLIv2 on OpenBSD using the OpenBSD ports system.

For more information, read the blog post AWS CLIv2 on OpenBSD.

The ports in this repo are tested on OpenBSD 7.5 and 7.6 using the amd64 and arm64 architectures.

Installation

To install the AWS CLIv2 port:

1 - Clone the repository from GitHub:

git clone https://github.com/knightjoel/awscliv2-on-openbsd

2 - Copy the contents of the repo's ports/ directory to /usr/ports (or wherever your ports tree is).

cd awscliv2-on-openbsd/ports
cp -a * /usr/ports

3 - Install some packages needed to build the port. You could allow ports to build and install this software, but installing the packages will reduce the build time.

doas pkg_add cmake python%3 ninja

4 - Install the AWS CLIv2 port.

If you have v1 of the AWS CLI installed, you'll have to uninstall it first.

doas pkg_delete awscli
cd /usr/ports/sysutils/awscliv2
make install

5 - Verify installation

% aws --version
aws-cli/2.19.4 Python/3.10.14 OpenBSD/7.5 source/amd64

About

An OpenBSD port for running the AWS Command Line Interface v2 on OpenBSD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published