# 使用 Homebrew, apk, dnf, Nix, pacman, zypper, apt, MacPorts 安装 gensio

查看 gensio 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:gensio
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gensio
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gsh
```

  证据: MacPorts ports tree: shells/gsh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gensio
```

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

- dnf (92%):

```sh
sudo dnf install gensio
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gensio
```

  证据: nixpkgs package indexes: pkgs/by-name/ge/gensio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gensio
```

  证据: Arch Linux sync databases: gensio from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gensio
```

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

- Debian apt (92%):

```sh
sudo apt install gensio-bin
```

  证据: Debian stable package indexes: gensio-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:gensio
- **软件包管理器:** Homebrew
- **版本:** 3.0.3
- **来源摘要:** Stream I/O Library
- **主页:** <https://github.com/cminyard/gensio>
- **仓库:** <https://github.com/cminyard/gensio>
- **最后更新:** 2026-07-21T21:00:39Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gagwpe (别名)
- gensiot (别名)
- gmdns (别名)
- greflector (别名)
- gsh (别名)
- gsound (别名)
- gtlssh (别名)
- gtlssh-keygen (别名)
- gtlsshd (别名)
- gtlssync (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.0.3
## 项目历史与用法

gensio is a C stream I/O framework that gives applications one stackable abstraction over TCP, UDP, SCTP, Unix sockets, serial devices, telnet, TLS, pseudo-terminals, files, sound, and other transports. It also ships command-line tools such as gensiot, gtlssh, gtlsshd, and gmdns.

### 项目历史

The FAQ says gensio began inside ser2net while Corey Minyard was rewriting ser2net to add encryption and authentication. The protocol-layering code became general enough to split into its own library, then grew through additional transports, filters, and proof-of-concept tools.

### 采用历史

gensio's adoption is concentrated in systems and networking niches rather than broad application development. The ser2net README describes gensio as a required library and notes that ser2net's crypto, mDNS, IPMI, RFC2217, and command-line connection capabilities come through gensio.

### 使用方式

Practitioners build gensio stacks as strings, such as layering telnet over TCP or TLS over a transport, and can create outgoing gensios or accepter stacks for incoming connections. The USING guide recommends str_to_gensio and str_to_gensio_accepter for most code, with callbacks for event-driven I/O and blocking helpers for convenience.

### 为什么软件包爱好者会关心

gensio matters to package users because it turns serial, network, encrypted-login, and remote-console behavior into reusable packaged tools and libraries. It is especially relevant when ser2net-style deployments need authentication, encryption, RFC2217 serial control, or portable I/O behavior across Unix, macOS, BSD, and Windows.

### 时间线

- FAQ: gensio split out of ser2net after its layered protocol code became reusable.
- 2025: the 3.0.0 release removed deprecated sergensio code after ser2net and language bindings had moved away from it.
- 2026: the 3.0.2 release notes listed minor fixes across modem, accepter, pcre2, and locking behavior.

### Related projects

- Related tools and protocols include ser2net, gtlssh, gtlsshd, gensiot, RFC2217 telnet serial control, TLS, SCTP, IPMI SOL, mDNS, AX.25, and SoapySDR.

### 来源

- <https://formulae.brew.sh/formula/gensio>
- <https://github.com/cminyard/gensio>
- <https://github.com/cminyard/gensio/releases.atom>
- <https://raw.githubusercontent.com/cminyard/gensio/master/FAQ.rst>
- <https://raw.githubusercontent.com/cminyard/gensio/master/README.rst>
- <https://raw.githubusercontent.com/cminyard/gensio/master/USING.rst>
- <https://raw.githubusercontent.com/cminyard/ser2net/master/README.rst>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## 其他软件包管理器记录

- Debian apt - gensio-bin - 2.8.13-7: normalized package name match | Debian stable package indexes: gensio-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | abstract stream I/O (command line tool) | https://github.com/cminyard/gensio
- Debian apt - libgensio-dev - 2.8.13-7: normalized package name match | Debian stable package indexes: libgensio-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | abstract stream I/O (development files) | https://github.com/cminyard/gensio
- Debian apt - libgensio6t64 - 2.8.13-7: normalized package name match | Debian stable package indexes: libgensio6t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | abstract stream I/O (runtime files) | https://github.com/cminyard/gensio
- Debian apt - python3-gensio - 2.8.13-7: normalized package name match | Debian stable package indexes: python3-gensio from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | abstract stream I/O (Python 3 bindings) | https://github.com/cminyard/gensio
- Nix - gensio: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/gensio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gensio-bin - 2.8.2-6.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gensio-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | abstract stream I/O (command line tool) | https://github.com/cminyard/gensio
- Ubuntu apt - libgensio-dev - 2.8.2-6.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgensio-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | abstract stream I/O (development files) | https://github.com/cminyard/gensio
- Ubuntu apt - libgensio6t64 - 2.8.2-6.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgensio6t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | abstract stream I/O (runtime files) | https://github.com/cminyard/gensio
- Ubuntu apt - python3-gensio - 2.8.2-6.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-gensio from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | abstract stream I/O (Python 3 bindings) | https://github.com/cminyard/gensio
- apk - gensio - 2.8.14-r0: normalized package name match | Alpine Linux edge package indexes: gensio from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | General Stream I/O | https://github.com/cminyard/gensio
- apk - gensio-dev - 2.8.14-r0: normalized package name match | Alpine Linux edge package indexes: gensio-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | General Stream I/O (development files) | https://github.com/cminyard/gensio
- apk - gensio-doc - 2.8.14-r0: normalized package name match | Alpine Linux edge package indexes: gensio-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | General Stream I/O (documentation) | https://github.com/cminyard/gensio
- apk - gensio-libs - 2.8.14-r0: normalized package name match | Alpine Linux edge package indexes: gensio-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | General Stream I/O (libraries) | https://github.com/cminyard/gensio
- dnf - gensio - 3.0.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: gensio from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | General Stream I/O | https://github.com/cminyard/gensio
- dnf - libgensio - 3.0.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: libgensio from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dynamic gensio Libraries | https://github.com/cminyard/gensio
- dnf - libgensio-devel - 3.0.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: libgensio-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for gensio | https://github.com/cminyard/gensio


## Combined YAML source

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


## 来源

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