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

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

## 安装

```sh
sudo av install brew:uwsgi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install uwsgi
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add uwsgi
```

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

- Debian apt (92%):

```sh
sudo apt install uwsgi
```

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

- dnf (92%):

```sh
sudo dnf install uwsgi
```

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

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

- pacman (92%):

```sh
sudo pacman -S uwsgi
```

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

- zypper (92%):

```sh
sudo zypper install uwsgi
```

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

## 软件包事实

- **软件包键:** brew:uwsgi
- **软件包管理器:** Homebrew
- **版本:** 2.0.31
- **来源摘要:** Full stack for building hosting services
- **主页:** <https://uwsgi-docs.readthedocs.io/en/latest/>
- **仓库:** <https://github.com/unbit/uwsgi>
- **最后更新:** 2026-07-05T03:36:31Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- uwsgi (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

uWSGI is an application-server container and hosting stack best known in Python deployment for serving WSGI applications behind web servers such as nginx. Its official documentation presents it as a full stack for hosting services: application servers, proxies, process managers, monitors, plugins, gateways, and the Emperor instance manager.

### 项目历史

The uWSGI documentation says the project has had users and contributors since 2009 and that the WSGI part of the name is a tribute to Python's Web Server Gateway Interface because WSGI was the first developed plugin. The docs also note that, despite the name, the project grew into a pluggable multi-language hosting system rather than only a Python WSGI server.

uWSGI's architecture evolved around a shared core and plugins. The official index lists request plugins for WSGI, PSGI, Rack, Lua WSAPI, CGI, PHP, Go, gateways for load balancers and routers, loop engines for preforking, threaded, async/evented, and green-thread modes, and the Emperor for managing many instances.

The official project page currently marks uWSGI as being in maintenance mode, with bug fixes and updates for new language APIs rather than rapid feature development. Recent changelog files in the official documentation repository label modern releases as maintenance releases.

### 采用历史

uWSGI became a staple of classic Python web deployment because it connected Python WSGI applications to production web servers and process-management patterns. Official quickstarts and tutorials document Django/nginx setups, Heroku usage, systemd, Upstart, Circus, socket activation, logging, graceful reloads, and many operational modes.

Its adoption also spread beyond Python through plugins and protocol support. The Rack quickstart, for example, explains Ruby/Rack operation, modular distribution packages, nginx integration through the uwsgi protocol, process/thread concurrency, and config-file usage.

### 使用方式

The package-nerd usage is usually a system or Homebrew package providing the `uwsgi` executable, with deployments configured through command-line flags or config files in INI, XML, JSON, YAML, and other supported formats. Operators often place uWSGI behind nginx or another front server, run multiple workers, enable the master process, and manage reload behavior.

uWSGI is also a source-build and distro-packaging story. The official build-system docs explain that its build approach dates to 2009 project guidelines and intentionally depends mainly on a C compiler and a Python interpreter, a choice made for sysadmin-oriented source builds and fast project evolution.

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

uWSGI is significant because it represents the older, operations-heavy side of Python packaging: C extensions, plugin builds, distro-specific modular packages, protocol integration, service managers, config formats, and long-running daemon behavior. It is less fashionable than newer ASGI servers, but it remains a key package in the history of Python deployment tooling.

For maintainers, uWSGI is a reminder that packaging an application server is not just placing a binary on PATH. The package has to account for plugins, language headers, compiler behavior, web-server integration, security fixes, service managers, and maintenance releases across operating systems.

### 时间线

- 2009: Official docs describe the first public release era and thank users and contributors since 2009.
- 2010s: uWSGI expanded around plugins, gateways, loop engines, the Emperor, and multi-language hosting modes.
- 2022-2026: Official project materials describe maintenance mode, and changelogs list maintenance releases for the 2.0 series.

### Related projects

- WSGI is the Python interface that gave uWSGI its name and its first plugin.
- nginx, Apache/mod_proxy_uwsgi, Gunicorn, PSGI, Rack, PHP, Go, Gevent, Greenlet, Tornado, systemd, Upstart, and Circus are related integration or deployment surfaces documented by uWSGI.

### 来源

- <https://github.com/unbit/uwsgi - Official repository describes uWSGI as an application server container and repeats the maintenance-mode note.>
- <https://uwsgi-docs.readthedocs.io/en/latest/ - Official docs describe the project scope, plugin architecture, maintenance mode, and since-2009 note.>
- <https://uwsgi-docs.readthedocs.io/en/latest/BuildSystem.html - Official build-system docs describe 2009 project guidelines and the C-compiler/Python-interpreter build approach.>
- <https://uwsgi-docs.readthedocs.io/en/latest/RackQuickstart.html - Official Rack quickstart documents plugins, nginx integration, workers, master process, and config-file usage.>
- <https://uwsgi-docs.readthedocs.io/en/latest/articles/SerializingAccept.html - Official article describes early project concerns, hosting-company origins, and first public release-era locking work.>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service

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

- Debian apt - uwsgi - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, self-healing application container server | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-core - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, self-healing application container server (core) | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-dev - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, self-healing application container server (headers) | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-emperor - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-emperor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, self-healing application container server (emperor scripts) | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-extra - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-extra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, self-healing application container server (extra files) | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-alarm-curl - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-alarm-curl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cURL alarm plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-alarm-xmpp - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-alarm-xmpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XMPP alarm plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-curl-cron - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-curl-cron from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cron cURL plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-emperor-pg - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-emperor-pg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Emperor PostgreSQL plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-geoip - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-geoip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GeoIP plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-graylog2 - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-graylog2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | graylog2 plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-ldap - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-ldap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LDAP plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-router-access - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-router-access from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Access router plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-sqlite3 - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-sqlite3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SQLite 3 configurations plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-plugin-xslt - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-plugin-xslt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XSLT request plugin for uWSGI | http://projects.unbit.it/uwsgi/
- Debian apt - uwsgi-src - 2.0.28-9: normalized package name match | Debian stable package indexes: uwsgi-src from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sources for uWSGI plugins | http://projects.unbit.it/uwsgi/


## Combined YAML source

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