# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gensio>
- **版本:** 3.0.3
- **来源摘要:** Stream I/O Library
- **主页:** <https://github.com/cminyard/gensio>
- **仓库:** <https://github.com/cminyard/gensio>
- **许可证:** LGPL-2.1-only AND GPL-2.0-only AND Apache-2.0
- **源码归档:** <https://github.com/cminyard/gensio/releases/download/v3.0.3/gensio-3.0.3.tar.gz>
- **最后更新:** 2026-07-21T21:00:39Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- gettext
- glib
- openssl@3
- portaudio
- python@3.14
- tcl-tk

## 构建依赖

- go
- pkgconf
- swig

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.0.3
- 管理器更新时间: 2026-07-21
- 本地数据: OK
- 上游仓库: https://github.com/cminyard/gensio
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

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

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for gensio | https://github.com/cminyard/gensio


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [tcl-tk](https://pkg.so/zh-hans/brew/tcl-tk/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [swig](https://pkg.so/zh-hans/brew/swig/) - Build dependency declared by Homebrew.
- [ser2net](https://pkg.so/zh-hans/brew/ser2net/) - Popular package that depends on this formula.
- [gsasl](https://pkg.so/zh-hans/brew/gsasl/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [nghttp2](https://pkg.so/zh-hans/brew/nghttp2/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [ldns](https://pkg.so/zh-hans/brew/ldns/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [libpcap](https://pkg.so/zh-hans/brew/libpcap/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [libdnet](https://pkg.so/zh-hans/brew/libdnet/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [pure-ftpd](https://pkg.so/zh-hans/brew/pure-ftpd/) - Shares pkgdb curated category or tags: cli, networking, tls.
- [libnl](https://pkg.so/zh-hans/brew/libnl/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [ndpi](https://pkg.so/zh-hans/brew/ndpi/) - Shares pkgdb curated category or tags: c-library, cli, networking.
- [dnsviz](https://pkg.so/zh-hans/brew/dnsviz/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, networking, openssl, openssl-3, python.
- [copyparty](https://pkg.so/zh-hans/brew/copyparty/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, gettext, networking, python, python-3-14.
- [httping](https://pkg.so/zh-hans/brew/httping/) - Local package facts share a topical domain. Shared terms: cli, gettext, networking, openssl.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
