# 使用 Homebrew, apk, apt, Nix, pacman 安装 microsocks

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

## 安装

```sh
sudo av install brew:microsocks
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install microsocks
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add microsocks
```

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

- Debian apt (92%):

```sh
sudo apt install microsocks
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#microsocks
```

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

- pacman (92%):

```sh
sudo pacman -S microsocks
```

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

## 软件包事实

- **软件包键:** brew:microsocks
- **软件包管理器:** Homebrew
- **版本:** 1.0.5
- **来源摘要:** Tiny, portable SOCKS5 server with very moderate resource usage
- **主页:** <https://github.com/rofl0r/microsocks>
- **仓库:** <https://github.com/rofl0r/microsocks>
- **最后更新:** 2026-07-12T13:23:47+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- microsocks (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

MicroSocks is a small C SOCKS5 server maintained in rofl0r's GitHub repository. Its README presents it as the successor to rocksocks5, rebuilt with different priorities: use standard libc where possible, remove artificial limits, favor small readable source over extreme binary-size minimization, and support IPv4, DNS, and IPv6 through common code paths.

### 使用方式

The project occupies the lightweight proxy-server niche rather than the full proxy-suite niche. A typical use is running a SOCKS5 service on a remote host when SSH tunneling is not suitable; it can start with no configuration file, listens on port 1080 by default, and exposes command-line options for listen address, port, username and password, bind address, whitelist, quiet logging, and one-time authentication. Its implementation model is deliberately simple: a low-stack thread per client and graceful refusal of new connections under resource exhaustion. In package managers it appears as a tiny standalone executable for users who need a SOCKS5 endpoint without deploying a larger daemon.

### 来源

- <https://formulae.brew.sh/formula/microsocks>
- <https://github.com/rofl0r/microsocks>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - microsocks - 1.0.5-1: normalized package name match | Debian stable package indexes: microsocks from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multithreaded, small, efficient SOCKS5 server | https://github.com/rofl0r/microsocks
- Nix - microsocks: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/microsocks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - microsocks - 1.0.3-2: normalized package name match | Ubuntu 24.04 LTS package indexes: microsocks from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multithreaded, small, efficient SOCKS5 server | https://github.com/rofl0r/microsocks
- apk - microsocks - 1.0.5-r0: normalized package name match | Alpine Linux edge package indexes: microsocks from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | multithreaded, small, efficient SOCKS5 server | https://github.com/rofl0r/microsocks
- apk - microsocks-doc - 1.0.5-r0: normalized package name match | Alpine Linux edge package indexes: microsocks-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | multithreaded, small, efficient SOCKS5 server (documentation) | https://github.com/rofl0r/microsocks
- apk - microsocks-openrc - 1.0.5-r0: normalized package name match | Alpine Linux edge package indexes: microsocks-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | multithreaded, small, efficient SOCKS5 server (OpenRC init scripts) | https://github.com/rofl0r/microsocks
- pacman - microsocks - 1.0.5-1: normalized package name match | Arch Linux sync databases: microsocks from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tiny, portable SOCKS5 server with very moderate resource usage | https://github.com/rofl0r/microsocks


## Combined YAML source

View the package source record on GitHub. [combined/microsocks.yml](https://github.com/mxcl/pkgdb/blob/main/combined/microsocks.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
