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

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

## 安装

```sh
sudo av install brew:samba
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install samba
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add samba
```

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

- Debian apt (92%):

```sh
sudo apt install samba
```

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

- dnf (92%):

```sh
sudo dnf install samba
```

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

  证据: nixpkgs package indexes: samba from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S samba
```

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

- zypper (92%):

```sh
sudo zypper install samba
```

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

## 软件包事实

- **软件包键:** brew:samba
- **软件包管理器:** Homebrew
- **版本:** 4.24.5
- **来源摘要:** SMB/CIFS file, print, and login server for UNIX
- **主页:** <https://www.samba.org/>
- **最后更新:** 2026-07-28T13:13:47Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cifsdd (别名)
- dbwrap_tool (别名)
- dumpmscat (别名)
- eventlogadm (别名)
- gentest (别名)
- ldbadd (别名)
- ldbdel (别名)
- ldbedit (别名)
- ldbmodify (别名)
- ldbrename (别名)
- ldbsearch (别名)
- locktest (别名)
- masktest (别名)
- mdsearch (别名)
- mvxattr (别名)
- ndrdump (别名)
- net (别名)
- nmbd (别名)
- nmblookup (别名)
- ntlm_auth (别名)
- oLschema2ldif (别名)
- pdbedit (别名)
- profiles (别名)
- regdiff (别名)
- regpatch (别名)
- regshell (别名)
- regtree (别名)
- rpcclient (别名)
- samba-log-parser (别名)
- sharesec (别名)
- smbcacls (别名)
- smbclient (别名)
- smbcontrol (别名)
- smbcquotas (别名)
- smbd (别名)
- smbget (别名)
- smbpasswd (别名)
- smbspool (别名)
- smbstatus (别名)
- smbtar (别名)
- smbtree (别名)
- testparm (别名)
- wbinfo (别名)
- wspsearch (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.24.5

## 安全说明

没有找到 samba 的匹配本地密钥处理 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: smb.conf
## 其他软件包管理器记录

- Debian apt - ctdb - 2:4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: ctdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | clustered database to store temporary data | https://www.samba.org
- Debian apt - ldb-tools - 2:2.11.0+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: ldb-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LDAP-like embedded database - tools | https://www.samba.org
- Debian apt - libldb-dev - 2:2.11.0+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libldb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LDAP-like embedded database - development files | https://www.samba.org
- Debian apt - libldb2 - 2:2.11.0+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libldb2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LDAP-like embedded database - shared library | https://www.samba.org
- Debian apt - libnss-winbind - 2:4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libnss-winbind from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Samba nameservice integration plugins | https://www.samba.org
- Debian apt - libpam-winbind - 2:4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libpam-winbind from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows domain authentication integration plugin | https://www.samba.org
- Debian apt - libsmbclient-dev - 2:4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libsmbclient-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for libsmbclient | https://www.samba.org
- Debian apt - libsmbclient0 - 2:4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libsmbclient0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library for communication with SMB/CIFS servers | https://www.samba.org
- Debian apt - libtalloc-dev - 2:2.4.3+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libtalloc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | hierarchical pool based memory allocator - development files | https://www.samba.org
- Debian apt - libtalloc2 - 2:2.4.3+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libtalloc2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | hierarchical pool based memory allocator | https://www.samba.org
- Debian apt - libtdb-dev - 2:1.4.13+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libtdb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Trivial Database - development files | https://www.samba.org
- Debian apt - libtdb1 - 2:1.4.13+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libtdb1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Trivial Database - shared library | https://www.samba.org
- Debian apt - libtevent-dev - 2:0.16.2+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libtevent-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | talloc-based event loop library - development files | https://www.samba.org
- Debian apt - libtevent0t64 - 2:0.16.2+samba4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libtevent0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | talloc-based event loop library - shared library | https://www.samba.org
- Debian apt - libwbclient-dev - 2:4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libwbclient-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Samba winbind client library - development files | https://www.samba.org
- Debian apt - libwbclient0 - 2:4.22.10+dfsg-0+deb13u1: normalized package name match | Debian stable package indexes: libwbclient0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Samba winbind client library | https://www.samba.org


## Combined YAML source

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


## 来源

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