# Install torsocks

Use SOCKS-friendly applications with Tor. Version 2.5.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:torsocks
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install torsocks
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install torsocks
```

  Evidence: MacPorts ports tree: net/torsocks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add torsocks
```

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

- Debian apt (92%):

```sh
sudo apt install libtorsocks
```

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

- dnf (92%):

```sh
sudo dnf install torsocks
```

  Evidence: Fedora Rawhide package metadata: torsocks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#torsocks
```

  Evidence: nixpkgs package indexes: pkgs/by-name/to/torsocks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S torsocks
```

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

- Ubuntu apt (92%):

```sh
sudo apt install torsocks
```

  Evidence: Ubuntu 24.04 LTS package indexes: torsocks from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Package Facts

- **Package key:** brew:torsocks
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/torsocks>
- **Version:** 2.5.0
- **Source summary:** Use SOCKS-friendly applications with Tor
- **Homepage:** <https://gitlab.torproject.org/tpo/core/torsocks>
- **Repository:** <https://gitlab.torproject.org/tpo/core/torsocks>
- **Upstream docs:** <https://gitlab.torproject.org/tpo/core/torsocks#readme>
- **License:** GPL-2.0-only
- **Source archive:** <https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v2.5.0/torsocks-v2.5.0.tar.bz2>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- torsocks (cli)
- torsocks (alias)

## Build Dependencies

- autoconf
- automake
- libtool

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.5.0
- Local data status: ok
- Upstream repository: https://gitlab.torproject.org/tpo/core/torsocks
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libtorsocks - 2.5.0-1+deb13u1: normalized package name match | Debian stable package indexes: libtorsocks from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | use SOCKS-friendly applications with Tor (library) | https://gitweb.torproject.org/torsocks.git
- Debian apt - torsocks - 2.5.0-1+deb13u1: normalized package name match | Debian stable package indexes: torsocks from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | use SOCKS-friendly applications with Tor | https://gitweb.torproject.org/torsocks.git
- Nix - torsocks: normalized package name match | nixpkgs package indexes: pkgs/by-name/to/torsocks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - torsocks - 2.4.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: torsocks from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | use SOCKS-friendly applications with Tor | https://gitweb.torproject.org/torsocks.git
- apk - torsocks - 2.5.0-r0: normalized package name match | Alpine Linux edge package indexes: torsocks from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Wrapper to safely torify applications | https://gitlab.torproject.org/tpo/core/torsocks
- apk - torsocks-doc - 2.5.0-r0: normalized package name match | Alpine Linux edge package indexes: torsocks-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Wrapper to safely torify applications (documentation) | https://gitlab.torproject.org/tpo/core/torsocks
- dnf - torsocks - 2.4.0-10.fc43: normalized package name match | Fedora Rawhide package metadata: torsocks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Use SOCKS-friendly applications with Tor | https://gitweb.torproject.org/torsocks.git
- pacman - torsocks - 2.5.0-1: normalized package name match | Arch Linux sync databases: torsocks from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Wrapper to safely torify applications | https://gitlab.torproject.org/tpo/core/torsocks
- MacPorts - torsocks: normalized package name match | MacPorts ports tree: net/torsocks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [obfs4proxy](https://www.automicvault.com/zh-hans/pkg/brew/obfs4proxy/) - Shares av.db curated category or tags: cli, networking, privacy, proxy, tor.
- [dnscrypt-proxy](https://www.automicvault.com/zh-hans/pkg/brew/dnscrypt-proxy/) - Shares av.db curated category or tags: cli, networking, privacy, proxy.
- [meek](https://www.automicvault.com/zh-hans/pkg/brew/meek/) - Shares av.db curated category or tags: cli, networking, privacy, tor.
- [onioncat](https://www.automicvault.com/zh-hans/pkg/brew/onioncat/) - Shares av.db curated category or tags: cli, networking, privacy, tor.
- [tor](https://www.automicvault.com/zh-hans/pkg/brew/tor/) - Shares av.db curated category or tags: cli, networking, privacy.
- [i2pd](https://www.automicvault.com/zh-hans/pkg/brew/i2pd/) - Shares av.db curated category or tags: cli, networking, privacy.
- [i2p](https://www.automicvault.com/zh-hans/pkg/brew/i2p/) - Shares av.db curated category or tags: cli, networking, privacy.
- [spot](https://www.automicvault.com/zh-hans/pkg/brew/spot/) - Shares av.db curated category or tags: cli, networking, privacy.
- [snowflake](https://www.automicvault.com/zh-hans/pkg/brew/snowflake/) - Local package facts share a topical domain. Shared terms: cli, networking, proxy, tor.

## Sources

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