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

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

## 安装

```sh
sudo av install brew:baresip
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install baresip
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install baresip
```

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

### Linux

- apk (92%):

```sh
sudo apk add baresip
```

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

- Debian apt (92%):

```sh
sudo apt install baresip
```

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

- dnf (92%):

```sh
sudo dnf install baresip
```

  证据: Fedora Rawhide package metadata: baresip 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#baresip
```

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

- pacman (92%):

```sh
sudo pacman -S baresip
```

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

- zypper (92%):

```sh
sudo zypper install baresip
```

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

## 软件包事实

- **软件包键:** brew:baresip
- **软件包管理器:** Homebrew
- **版本:** 4.10.0
- **来源摘要:** Modular SIP useragent
- **主页:** <https://github.com/baresip/baresip>
- **仓库:** <https://github.com/baresip/baresip>
- **最后更新:** 2026-07-22T12:03:23Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- baresip (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Baresip is a portable, modular SIP user agent with audio and video support, used from the command line and built around selectable modules for signaling, media, devices, and NAT traversal.

### 项目历史

The upstream README credits Alfred E. Heggestad and contributors from 2010 onward and describes Baresip as a BSD-licensed SIP user agent. It depends on the related libre networking library and is configured through simple files that are generated in the user's home directory on first run.

Baresip has expanded from a compact SIP endpoint into a broad media and signaling toolkit with TLS, SRTP, DTLS-SRTP, ZRTP, STUN, TURN, ICE, multiple audio and video codecs, native audio/video backends, command-line control, and optional HTTP and MQTT management modules.

### 采用历史

Baresip is adopted by users who want a scriptable or terminal-friendly SIP softphone instead of a large desktop VoIP client. Its package coverage across Alpine, Debian, Fedora, Arch, Ubuntu, openSUSE, MacPorts, Nix, and Homebrew reflects its usefulness to VoIP developers, test environments, and Unix telephony setups.

### 使用方式

A typical installation starts baresip once to generate configuration under ~/.baresip, then edits accounts and config files for SIP registration, codecs, devices, NAT traversal, and modules. The package exposes a single baresip executable while related examples and wiki pages document account and configuration syntax.

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

Baresip is package-nerd significant because it pulls real-time communications into normal Unix packaging: OpenSSL/libre dependencies, optional media modules, platform audio backends, codec feature choices, and configuration files that make SIP testing possible from scripts and terminals.

### 时间线

- 2010: Upstream copyright history begins for Alfred E. Heggestad and contributors.
- 2024: Baresip 3.x continues monthly-style releases with modular SIP, audio, video, and NAT traversal work.
- 2025: Baresip 4.0.0 is released.
- 2026: Baresip 4.9.0 is released with continued SIP, TLS, Android audio, contact, and test improvements.

### Related projects

- Baresip is closely related to the libre library from the same project ecosystem. It also sits near SIP clients and tools such as Linphone, PJSIP/PJSUA, SIPp, and Asterisk, but with a smaller modular user-agent focus.

### 来源

- <https://github.com/baresip/baresip/blob/main/CHANGELOG.md>
- <https://github.com/baresip/baresip/blob/main/README.md>
- <https://github.com/baresip/baresip/wiki/Accounts>
- <https://github.com/baresip/baresip/wiki/Configuration>
- source_facts.package-manager


## 安全说明

没有找到 baresip 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.baresip/config

## Credential files

- Unix: ~/.baresip/accounts
## 其他软件包管理器记录

- Debian apt - baresip - 1.1.0-3: normalized package name match | Debian stable package indexes: baresip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | portable and modular SIP user-agent - metapackage | https://github.com/baresip/baresip
- Debian apt - baresip-core - 1.1.0-3: normalized package name match | Debian stable package indexes: baresip-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | portable and modular SIP user-agent - core parts | https://github.com/baresip/baresip
- Debian apt - baresip-ffmpeg - 1.1.0-3: normalized package name match | Debian stable package indexes: baresip-ffmpeg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | portable and modular SIP user-agent - FFmpeg codecs and formats | https://github.com/baresip/baresip
- Debian apt - baresip-gstreamer - 1.1.0-3: normalized package name match | Debian stable package indexes: baresip-gstreamer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | portable and modular SIP user-agent - GStreamer pipelines | https://github.com/baresip/baresip
- Debian apt - baresip-gtk - 1.1.0-3: normalized package name match | Debian stable package indexes: baresip-gtk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | portable and modular SIP user-agent - GTK+ front-end | https://github.com/baresip/baresip
- Debian apt - baresip-x11 - 1.1.0-3: normalized package name match | Debian stable package indexes: baresip-x11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | portable and modular SIP user-agent - X11 features | https://github.com/baresip/baresip
- Nix - baresip: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/baresip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - baresip - 1.0.0-4build14: normalized package name match | Ubuntu 24.04 LTS package indexes: baresip from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | portable and modular SIP user-agent - metapackage | https://github.com/baresip/baresip
- Ubuntu apt - baresip-core - 1.0.0-4build14: normalized package name match | Ubuntu 24.04 LTS package indexes: baresip-core from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | portable and modular SIP user-agent - core parts | https://github.com/baresip/baresip
- Ubuntu apt - baresip-ffmpeg - 1.0.0-4build14: normalized package name match | Ubuntu 24.04 LTS package indexes: baresip-ffmpeg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | portable and modular SIP user-agent - FFmpeg codecs and formats | https://github.com/baresip/baresip
- Ubuntu apt - baresip-gstreamer - 1.0.0-4build14: normalized package name match | Ubuntu 24.04 LTS package indexes: baresip-gstreamer from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | portable and modular SIP user-agent - GStreamer pipelines | https://github.com/baresip/baresip
- Ubuntu apt - baresip-gtk - 1.0.0-4build14: normalized package name match | Ubuntu 24.04 LTS package indexes: baresip-gtk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | portable and modular SIP user-agent - GTK+ front-end | https://github.com/baresip/baresip
- Ubuntu apt - baresip-x11 - 1.0.0-4build14: normalized package name match | Ubuntu 24.04 LTS package indexes: baresip-x11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | portable and modular SIP user-agent - X11 features | https://github.com/baresip/baresip
- apk - baresip - 4.10.0-r0: normalized package name match | Alpine Linux edge package indexes: baresip from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Baresip is a modular SIP User-Agent with audio and video support | https://github.com/baresip/baresip
- apk - baresip-dev - 4.10.0-r0: normalized package name match | Alpine Linux edge package indexes: baresip-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Baresip is a modular SIP User-Agent with audio and video support (development files) | https://github.com/baresip/baresip
- dnf - baresip - 4.10.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: baresip from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Modular SIP user-agent with audio and video support | https://github.com/baresip/baresip


## Combined YAML source

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


## 来源

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