Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install usbredir

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install usbredir

MacPorts ports tree · devel/usbredir/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add usbredir

Alpine Linux edge package indexes · usbredir · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install usbredir

Fedora Rawhide package metadata · usbredir · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#usbredir

nixpkgs package indexes · pkgs/by-name/us/usbredir/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S usbredir

Arch Linux sync databases · usbredir · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install usbredir

openSUSE Tumbleweed package metadata · usbredir · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install libusbredirhost-dev

Debian stable package indexes · libusbredirhost-dev · 来源: deb.debian.org

概览

软件包摘要

USB traffic redirection library

命令和别名

  • usbredirect

历史

项目历史与用法

usbredir is both a network protocol for forwarding USB device traffic and the software package that implements it. The SPICE project documentation describes a parser library, a host-side library, and utilities that let a USB device attached to one machine appear inside another, commonly a virtual machine.

项目历史

The official Git history begins with an initial usbredir import on 2011-02-03. The protocol documentation records version 0.2 as the version demonstrated at FOSDEM 2011 and version 0.3, released on 2011-07-14, as the first stable version intended for later compatibility.

Although created for SPICE, the SPICE documentation explicitly says the protocol and usbredirhost library are independent of SPICE. That separation is important historically: usbredir became a reusable USB-over-network mechanism rather than only a private detail of one remote desktop stack.

The protocol continued to evolve through the early 2010s. The official protocol document records filtering support in version 0.4 in 2012, 64-bit packet IDs in 0.5, buffered bulk input in 0.6, and protocol version 0.7 in 2014 with bulk-stream changes.

采用历史

usbredir's main adoption path was virtualization. The SPICE page documents use with QEMU, libvirt, virt-manager, remote-viewer, and Windows clients using UsbDk, while also noting that the guest side is implemented for QEMU and shipped as part of QEMU.

The input package metadata lists usbredir across Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE package families. That spread matches its role as a low-level library used by virtualization stacks rather than as a daily end-user command.

使用方式

On the host side, applications provide a libusb device handle and callbacks for transporting usbredir data, then monitor usbredir and libusb events. The `usbredirect` utility can export a USB device over TCP as a client or server.

In VM workflows, users add USB redirection devices in virt-manager or libvirt XML, configure QEMU `usb-redir` devices and SPICE channels, and select devices from remote-viewer once the SPICE connection is established. Filtering rules can block or auto-connect devices by USB class, vendor, product, and version.

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

usbredir is package-nerd significant because it is the quiet glue behind a visible virtualization feature. Installing it satisfies build/runtime dependencies for QEMU/SPICE USB redirection and exposes the libraries that let packagers connect libusb, SPICE clients, and QEMU devices cleanly.

时间线

  • 2011-02-03: Official Git history starts with initial usbredir import.
  • 2011: Protocol version 0.2 demonstrated at FOSDEM.
  • 2011-07-14: Protocol version 0.3 released as the first stable version.
  • 2012: Protocol versions 0.4, 0.5, and 0.6 add filtering, 64-bit packet IDs, and buffered bulk input.
  • 2014-05-19: Protocol version 0.7 released.
  • 2025-01-27: Official tag usbredir-0.15.0 created.

Related projects

  • The official documentation ties usbredir to SPICE, QEMU, libvirt, virt-manager, remote-viewer, libusb, and UsbDk.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
usbredirectcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.15.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.spice-space.org

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.spice-space.orgnone 置信度

安装元数据

软件包元数据

软件包键brew:usbredir
版本0.15.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/usbredir
主页https://www.spice-space.org
仓库https://gitlab.freedesktop.org/spice/usbredir
上游文档https://gitlab.freedesktop.org/spice/usbredir
许可证GPL-2.0-or-later AND LGPL-2.0-or-later
源码归档https://www.spice-space.org/download/usbredir/usbredir-0.15.0.tar.xz
依赖glib, libusb
构建依赖meson, ninja, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameusbredir
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libusbredirhost-dev 0.15.0-1

implementing the usb-host (*) side of a usbredir connection (development)

https://www.spice-space.org/

sudo apt install libusbredirhost-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: usbredir
  • 2 依赖
  • normalized package name match
  • 匹配方式:Usbredir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libusbredirhost-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libusbredirhost1t64 0.15.0-1

Implementing the usb-host (*) side of a usbredir connection (runtime)

https://www.spice-space.org/

sudo apt install libusbredirhost1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: usbredir
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libusbredirhost1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libusbredirparser-dev 0.15.0-1

Parser for the usbredir protocol (development)

https://www.spice-space.org/

sudo apt install libusbredirparser-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: usbredir
  • 1 依赖
  • normalized package name match
  • 匹配方式:Usbredir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libusbredirparser-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libusbredirparser1t64 0.15.0-1

Parser for the usbredir protocol (runtime)

https://www.spice-space.org/

sudo apt install libusbredirparser1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: usbredir
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libusbredirparser1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

usbredirect 0.15.0-1

Simple USB host TCP client

https://www.spice-space.org/

sudo apt install usbredirect
  • Section: otherosfs
  • Architecture: amd64
  • Source Package: usbredir
  • 4 依赖
  • normalized package name match
  • 匹配方式:Usbredir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: usbredirect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

usbredir

nix profile install nixpkgs#usbredir
  • normalized package name match
  • 匹配方式:Usbredir
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/us/usbredir/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libusbredirhost-dev 0.13.0-2.1build1

implementing the usb-host (*) side of a usbredir connection (development)

https://www.spice-space.org/

sudo apt install libusbredirhost-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: usbredir
  • 2 依赖
  • normalized package name match
  • 匹配方式:Usbredir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libusbredirhost-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libusbredirhost1t64 0.13.0-2.1build1

Implementing the usb-host (*) side of a usbredir connection (runtime)

https://www.spice-space.org/

sudo apt install libusbredirhost1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: usbredir
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libusbredirhost1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libusbredirparser-dev 0.13.0-2.1build1

Parser for the usbredir protocol (development)

https://www.spice-space.org/

sudo apt install libusbredirparser-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: usbredir
  • 1 依赖
  • normalized package name match
  • 匹配方式:Usbredir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libusbredirparser-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libusbredirparser1t64 0.13.0-2.1build1

Parser for the usbredir protocol (runtime)

https://www.spice-space.org/

sudo apt install libusbredirparser1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: usbredir
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libusbredirparser1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

usbredirect 0.13.0-2.1build1

Simple USB host TCP client

https://www.spice-space.org/

sudo apt install usbredirect
  • Section: universe/otherosfs
  • Architecture: amd64
  • Source Package: usbredir
  • 4 依赖
  • normalized package name match
  • 匹配方式:Usbredir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: usbredirect from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libusbredirhost 0.14.0-r0

USB network redirection protocol libraries

https://www.spice-space.org/usbredir.html

sudo apk add libusbredirhost
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: usbredir
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libusbredirhost from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libusbredirparser 0.14.0-r0

USB network redirection protocol libraries

https://www.spice-space.org/usbredir.html

sudo apk add libusbredirparser
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: usbredir
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libusbredirparser from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

usbredir 0.14.0-r0

USB network redirection protocol libraries

https://www.spice-space.org/usbredir.html

sudo apk add usbredir
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: usbredir
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: usbredir from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

usbredir-dev 0.14.0-r0

USB network redirection protocol libraries (development files)

https://www.spice-space.org/usbredir.html

sudo apk add usbredir-dev
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: usbredir
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Usbredir
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: usbredir-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

usbredir-doc 0.14.0-r0

USB network redirection protocol libraries (documentation)

https://www.spice-space.org/usbredir.html

sudo apk add usbredir-doc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: usbredir
  • normalized package name match
  • 匹配方式:Usbredir
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: usbredir-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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