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

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

## 安装

```sh
sudo av install brew:s3cmd
```

## 代理安全回答

s3cmd transfers and mutates S3-compatible object storage.

- **凭据访问:** Reads S3 access keys, config files, and files selected for transfer.
- **远程变更:** Can upload, delete, sync, and change object ACLs.
- **发布/制品风险:** Can publish or remove artifacts and static-site assets.
- **推荐控制:** Gate sync, delete, put, ACL, and credential commands.
- **代理使用指南:** Allow bucket listing; require approval for uploads, deletes, ACL changes, and sensitive paths.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install s3cmd
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install s3cmd
```

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

### Linux

- apk (92%):

```sh
sudo apk add s3cmd
```

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

- Debian apt (92%):

```sh
sudo apt install s3cmd
```

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

- dnf (92%):

```sh
sudo dnf install s3cmd
```

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

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

- pacman (92%):

```sh
sudo pacman -S s3cmd
```

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

- zypper (92%):

```sh
sudo zypper install s3cmd
```

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

## 软件包事实

- **软件包键:** brew:s3cmd
- **软件包管理器:** Homebrew
- **版本:** 2.4.0
- **来源摘要:** Command-line tool for the Amazon S3 service
- **主页:** <https://s3tools.org/s3cmd>
- **仓库:** <https://github.com/s3tools/s3cmd>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- s3cmd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: ~/.s3cfg

## Credential files

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

- Debian apt - s3cmd - 2.4.0-3: normalized package name match | Debian stable package indexes: s3cmd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line Amazon S3 client | https://s3tools.org/s3cmd
- Nix - s3cmd: normalized package name match | nixpkgs package indexes: pkgs/by-name/s3/s3cmd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - s3cmd - 2.4.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: s3cmd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command-line Amazon S3 client | https://s3tools.org/s3cmd
- apk - s3cmd - 2.4.0-r2: normalized package name match | Alpine Linux edge package indexes: s3cmd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool for managing Amazon S3 and CloudFront services | https://github.com/s3tools/s3cmd
- apk - s3cmd-doc - 2.4.0-r2: normalized package name match | Alpine Linux edge package indexes: s3cmd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool for managing Amazon S3 and CloudFront services (documentation) | https://github.com/s3tools/s3cmd
- apk - s3cmd-pyc - 2.4.0-r2: normalized package name match | Alpine Linux edge package indexes: s3cmd-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for s3cmd | https://github.com/s3tools/s3cmd
- dnf - s3cmd - 2.4.0-13.fc45: normalized package name match | Fedora Rawhide package metadata: s3cmd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tool for accessing Amazon Simple Storage Service | https://s3tools.org/s3cmd
- pacman - s3cmd - 2.4.0-5: normalized package name match | Arch Linux sync databases: s3cmd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command line client for Amazon S3 | https://s3tools.org/s3cmd
- zypper - s3cmd - 2.4.0-2.3: normalized package name match | openSUSE Tumbleweed package metadata: s3cmd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Command line tool for managing Amazon S3 and CloudFront services | http://s3tools.org/s3cmd
- MacPorts - s3cmd: normalized package name match | MacPorts ports tree: net/s3cmd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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