# Install aklomp-base64 with Homebrew, apk, chocolatey, MacPorts, scoop

Fast Base64 stream encoder/decoder in C99, with SIMD acceleration. Version 0.5.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:aklomp-base64
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install aklomp-base64
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install base64
```

  Evidence: MacPorts ports tree: mail/base64/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add base64
```

  Evidence: Alpine Linux edge package indexes: base64 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install base64
```

  Evidence: Chocolatey community package catalog: base64 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','backupper-standard'

- Scoop (92%):

```sh
scoop install main/base64
```

  Evidence: Scoop official bucket manifest trees: bucket/base64.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:aklomp-base64
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/aklomp-base64>
- **Version:** 0.5.2
- **Source summary:** Fast Base64 stream encoder/decoder in C99, with SIMD acceleration
- **Homepage:** <https://github.com/aklomp/base64>
- **Repository:** <https://github.com/aklomp/base64>
- **Upstream docs:** <https://github.com/aklomp/base64>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/aklomp/base64/archive/refs/tags/v0.5.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- base64 (cli)
- base64 (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.5.2
- Local data: ok
- Upstream repository: https://github.com/aklomp/base64
- Upstream latest detected: v0.5.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

aklomp/base64 is a fast C99 Base64 streaming encoder/decoder and library with SIMD and OpenMP acceleration. Homebrew installs it as `aklomp-base64` to avoid colliding conceptually with the standard `base64` utility while still shipping a standalone `base64`-style command.

### Project history

The public GitHub repository was created in September 2013. The README says that, at the time of original release, the author believed it was the only Base64 library offering SIMD acceleration, and links to the author's article explaining a SIMD approach to Base64 encoding and decoding.

Over time the project accumulated multiple optimized codecs: SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512, NEON, AArch64/NEON, plain 32/64-bit fallback routines, and optional OpenMP parallelism. The README records contributions and influence from Inkymail's fork and Wojciech Mula's SIMD Base64 work.

### Adoption history

The project is packaged across several ecosystems in the supplied input facts: Homebrew as `aklomp-base64`, Alpine as `base64`, Chocolatey as `base64`, MacPorts as `base64`, and Scoop as `main/base64`.

Its adoption is mostly among users who need a faster streaming Base64 implementation or a small embeddable C library rather than among users seeking a new interface. The README emphasizes a self-contained object file, a matching C header, and a standalone test binary compatible with the system utility style.

### How it is used

As a command-line tool, it reads and writes streaming Base64 data in the spirit of existing Unix `base64` programs. As a library, callers include `include/libbase64.h` and link `lib/libbase64.o` or their own build product.

The code chooses optimized codecs at runtime on x86, can be compiled with feature-specific flags, and exposes flags such as `BASE64_FORCE_AVX2`, `BASE64_FORCE_NEON64`, and `BASE64_FORCE_PLAIN` for testing or explicit selection.

### Why package nerds care

This is the sort of package that package managers preserve because a tiny boring utility hides a lot of CPU-specific detail. The interesting part is not the command syntax; it is the portable packaging of SIMD code paths, runtime dispatch, and a fallback that still works on plain C99 targets.

The Homebrew formula name is also notable: `aklomp-base64` distinguishes this implementation from the platform-provided `base64`, which is exactly the naming problem binary package managers run into with faster replacements for POSIX-ish tools.

### Timeline

- 2013: Public GitHub repository created.
- Original release period: README says the project was, to the author's knowledge, the only SIMD-accelerated Base64 library.
- Later: AVX2, NEON, AArch64/NEON, AVX512, and OpenMP paths are documented in the README.
- 2025: Repository metadata shows continued maintenance activity.

### Related projects

- Inkymail/base64: fork credited for original AVX2, NEON, and AArch64/NEON codec contributions.
- Wojciech Mula's Base64 SIMD work: source of optimizations and AVX512 encoder basis credited in the README.
- System `base64` utilities: the behavioral comparison point for the standalone binary.

### Sources

- <https://api.github.com/repos/aklomp/base64>
- <https://github.com/aklomp/base64>
- input source_facts.package-manager


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aklomp-base64
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** base64
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- MacPorts - base64: installed executable or alias match | MacPorts ports tree: mail/base64/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- apk - base64 - 0.5.2-r2: installed executable or alias match | Alpine Linux edge package indexes: base64 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fast Base64 stream encoder/decoder in C99, with SIMD acceleration | https://github.com/aklomp/base64
- apk - base64-dev - 0.5.2-r2: installed executable or alias match | Alpine Linux edge package indexes: base64-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fast Base64 stream encoder/decoder in C99, with SIMD acceleration (development files) | https://github.com/aklomp/base64
- apk - base64-static - 0.5.2-r2: installed executable or alias match | Alpine Linux edge package indexes: base64-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fast Base64 stream encoder/decoder in C99, with SIMD acceleration (static library) | https://github.com/aklomp/base64
- apk - libbase64 - 0.5.2-r2: installed executable or alias match | Alpine Linux edge package indexes: libbase64 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fast Base64 stream encoder/decoder in C99, with SIMD acceleration (libraries) | https://github.com/aklomp/base64
- Chocolatey - base64: installed executable or alias match | Chocolatey community package catalog: base64 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','backupper-standard'
- Scoop - main/base64: installed executable or alias match | Scoop official bucket manifest trees: bucket/base64.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [tracy](https://www.automicvault.com/pkg/brew/tracy/) - Popular package that depends on this formula.
- [der-ascii](https://www.automicvault.com/pkg/brew/der-ascii/) - Shares av.db curated category or tags: cli, developer-tools, encoding.
- [ecoji](https://www.automicvault.com/pkg/brew/ecoji/) - Shares av.db curated category or tags: cli, developer-tools, encoding.
- [morse](https://www.automicvault.com/pkg/brew/morse/) - Shares av.db curated category or tags: cli, developer-tools, encoding.
- [qprint](https://www.automicvault.com/pkg/brew/qprint/) - Shares av.db curated category or tags: cli, developer-tools, encoding.
- [recode](https://www.automicvault.com/pkg/brew/recode/) - Shares av.db curated category or tags: cli, developer-tools, encoding.
- [simdutf](https://www.automicvault.com/pkg/brew/simdutf/) - Shares av.db curated category or tags: base64, cli, developer-tools, simd.
- [uchardet](https://www.automicvault.com/pkg/brew/uchardet/) - Shares av.db curated category or tags: cli, developer-tools, encoding.
- [unum](https://www.automicvault.com/pkg/brew/unum/) - Shares av.db curated category or tags: cli, developer-tools, encoding.
- [csmith](https://www.automicvault.com/pkg/brew/csmith/) - Local package facts share a topical domain. Shared terms: c, c99, cli, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/aklomp-base64.yml](https://github.com/automic-vault/db/blob/main/combined/aklomp-base64.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
