# Install stoken with Homebrew, apk, apt, Nix, pacman, zypper, dnf

Tokencode generator compatible with RSA SecurID 128-bit (AES). Version 0.93 via Homebrew; verified 2026-05-11. Also installable with debian: sudo apt install libstoken-dev.

## Install

```sh
sudo av install brew:stoken
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stoken
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add stoken
```

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

- Debian apt (92%):

```sh
sudo apt install stoken
```

  Evidence: Debian stable package indexes: stoken from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#stoken
```

  Evidence: nixpkgs package indexes: stoken from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S stoken
```

  Evidence: Arch Linux sync databases: stoken from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install stoken
```

  Evidence: openSUSE Tumbleweed package metadata: stoken from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install stoken-cli
```

  Evidence: Fedora Rawhide package metadata: stoken-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Package facts

- **Package key:** brew:stoken
- **Package manager:** Homebrew
- **Version:** 0.93
- **Source summary:** Tokencode generator compatible with RSA SecurID 128-bit (AES)
- **Homepage:** <https://github.com/stoken-dev/stoken>
- **Repository:** <https://github.com/stoken-dev/stoken>
- **Last updated:** 2026-05-11T00:44:50Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- stoken (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.93
## Project history and usage

stoken is a Unix/Linux software token for RSA SecurID-compatible 128-bit AES tokens. In package-manager terms it is the small command-line utility people install when they need to import a seed, keep it encrypted locally, and print tokencodes without using a vendor GUI.

### Project history

The upstream wiki describes stoken as an open source hobbyist project, not affiliated with RSA Security. Its GitHub README presents the project as a set of Unix-oriented components: a CLI, a GTK GUI, a shared library, and supporting interfaces for token generation.

### Adoption history

The SourceForge wiki notes release tarballs, GitHub as the head-of-tree development location, and availability in Debian Jessie and later, Ubuntu 13.10 and later, and Fedora 19 and later. The supplied Homebrew metadata also shows packaging across Homebrew, Alpine, Debian/Ubuntu, Fedora, Nix, Arch, and openSUSE-derived package names.

### How it is used

The man page centers stoken around `stoken import` and `stoken tokencode`: users import raw token strings, mobile-token URIs, or `.sdtid` XML files, then display the current or next tokencode. The same file documents `~/.stokenrc` as the local token store, which is why the config and credential location are the same.

### Why package nerds care

stoken matters to package users because it turns a proprietary enterprise authentication workflow into a scriptable Unix command. Its presence in multiple distro package sets also made RSA SecurID-compatible token generation available through normal package-manager channels rather than manual vendor tooling.

### Timeline

- 2012: stoken man page documents the CLI and `~/.stokenrc` token store.
- 2013: Upstream wiki reports Ubuntu 13.10+ availability.
- 2014: Upstream wiki reports Debian Jessie+ and Fedora 19+ availability.

### Related projects

- The upstream wiki points Android users to Easy Token, based on libstoken. The README also positions stoken alongside RSA SecurID token formats such as compressed token strings, iPhone-style token URIs, Android-style token URIs, and `.sdtid` files.

### Sources

- <https://github.com/stoken-dev/stoken#readme>
- <https://raw.githubusercontent.com/stoken-dev/stoken/main/stoken.1>
- <https://sourceforge.net/p/stoken/wiki/Home/>
- input.source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for stoken. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.stokenrc

## Credential files

- Unix: ~/.stokenrc
## Other Package-Manager Records

- Debian apt - libstoken-dev - 0.92-1.1+b2: normalized package name match | Debian stable package indexes: libstoken-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Software Token for cryptographic authentication - development files | http://stoken.sf.net/
- Debian apt - libstoken1t64 - 0.92-1.1+b2: normalized package name match | Debian stable package indexes: libstoken1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Software Token for cryptographic authentication - shared library | http://stoken.sf.net/
- Debian apt - stoken - 0.92-1.1+b2: normalized package name match | Debian stable package indexes: stoken from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Software Token for cryptographic authentication | http://stoken.sf.net/
- Nix - stoken: normalized package name match | nixpkgs package indexes: stoken from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libstoken-dev - 0.92-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libstoken-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Software Token for cryptographic authentication - development files | http://stoken.sf.net/
- Ubuntu apt - libstoken1t64 - 0.92-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libstoken1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Software Token for cryptographic authentication - shared library | http://stoken.sf.net/
- Ubuntu apt - stoken - 0.92-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: stoken from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Software Token for cryptographic authentication | http://stoken.sf.net/
- apk - stoken - 0.93-r0: normalized package name match | Alpine Linux edge package indexes: stoken from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems | https://github.com/cernekee/stoken
- apk - stoken-dev - 0.93-r0: normalized package name match | Alpine Linux edge package indexes: stoken-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems (development files) | https://github.com/cernekee/stoken
- apk - stoken-doc - 0.93-r0: normalized package name match | Alpine Linux edge package indexes: stoken-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems (documentation) | https://github.com/cernekee/stoken
- dnf - stoken-cli - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command line tool for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-devel - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-gui - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Graphical interface program for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-libs - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Libraries for stoken | https://github.com/stoken-dev/stoken
- pacman - stoken - 0.92-6: normalized package name match | Arch Linux sync databases: stoken from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems | https://github.com/cernekee/stoken
- zypper - libstoken1 - 0.93-1.11: normalized package name match | openSUSE Tumbleweed package metadata: libstoken1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Libraries for stoken | https://github.com/stoken-dev/stoken


## Combined YAML source

View the package source record on GitHub. [combined/stoken.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stoken.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
