# 使用 Homebrew, apk, pacman, apt, scoop, dnf, Nix, zypper, chocolatey 安装 tomcat@9

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

## 安装

```sh
sudo av install brew:tomcat@9
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tomcat@9
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tomcat9
```

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

- pacman (92%):

```sh
sudo pacman -S tomcat9
```

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

- Debian apt (92%):

```sh
sudo apt install libtomcat9-java
```

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

- dnf (92%):

```sh
sudo dnf install tomcat
```

  证据: Fedora Rawhide package metadata: tomcat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tomcat
```

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

- zypper (92%):

```sh
sudo zypper install tomcat
```

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

### Windows

- Scoop (92%):

```sh
scoop install versions/tomcat9
```

  证据: Scoop official bucket manifest trees: bucket/tomcat9.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1

- Chocolatey (92%):

```sh
choco install Tomcat
```

  证据: Chocolatey community package catalog: Tomcat from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','termius'

## 软件包事实

- **软件包键:** brew:tomcat@9
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tomcat@9>
- **版本:** 9.0.120
- **来源摘要:** Implementation of Java Servlet and JavaServer Pages
- **主页:** <https://tomcat.apache.org/>
- **上游文档:** <https://tomcat.apache.org/>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=tomcat/tomcat-9/v9.0.120/bin/apache-tomcat-9.0.120.tar.gz>
- **最后更新:** 2026-07-07T20:34:30Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- 注意事项: Configuration files: $HOMEBREW_PREFIX/etc/tomcat@9
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 9.0.120
- 管理器更新时间: 2026-07-07
- 本地数据: OK
- 上游仓库: https://tomcat.apache.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Apache Tomcat 9 is the Java EE 8-era line of Apache Tomcat, the ASF servlet and JSP container descended from the original Servlet and JSP implementations donated by Sun to the Apache Software Foundation. It matters in package-manager catalogs because it is a long-lived, scriptable server runtime that developers install locally for Java web application testing, legacy application support, and compatibility work.

### 项目历史

Tomcat's public Apache history begins in 1999, when Sun donated the Tomcat code base to the ASF; the first Apache Tomcat release was version 3.0. The project then evolved through multiple major releases under ASF stewardship, with contributions from Sun and other organizations.

Tomcat 9 began as a 9.0.x milestone branch in November 2015. Its first milestone was advertised as early access to Tomcat 9 features, including HTTP/2, TLS virtual hosting, and an implementation of the draft Servlet 4.0 specification. The current Tomcat 9 documentation describes it as implementing Servlet 4.0 and JavaServer Pages 2.3, with supporting Java EE 8-era APIs.

### 采用历史

The ASF heritage page describes Tomcat as having considerable industry adoption and an active community. Tomcat 9's place in package catalogs reflects that history: it remains the compatibility line for applications written against the javax.* Java EE APIs, while later Tomcat 10 and 11 lines moved to the jakarta.* namespace.

Homebrew tracks Tomcat 9 as a versioned formula, and the batch input lists corresponding package-manager names across Alpine, Debian, Fedora, Nix, Arch, Scoop, Ubuntu, and openSUSE, indicating broad distro-level packaging for the Tomcat 9 generation.

### 使用方式

Package users normally install Tomcat 9 to run the catalina command and operate a local or service-managed servlet container. The important files for package nerds are under $CATALINA_BASE, especially conf/server.xml for server configuration and catalina.properties for runtime properties.

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

Tomcat 9 is the package-manager-friendly anchor for Java EE 8 servlet applications: it is large enough to be a real server, small enough to install as a local development runtime, and old enough that versioned packages are valuable when projects cannot move from javax.* to jakarta.* APIs.

### 时间线

- 1999: Sun donated the Tomcat code base to the Apache Software Foundation.
- 2015: Tomcat 9.0.0.M1 alpha was released as the first 9.0.x milestone.
- 2026: Tomcat 9.0.119 was announced as a Java EE 8-platform release, with Tomcat 9 support announced through 31 March 2027.

### Related projects

- Apache Tomcat 10 and 11 continue the Tomcat line for Jakarta EE-era APIs.
- Apache TomEE builds on Tomcat by adding Java EE and Jakarta EE application-server features.

### 来源

- <https://tomcat.apache.org/>
- <https://tomcat.apache.org/heritage.html>
- <https://tomcat.apache.org/oldnews-2015.html>
- <https://tomcat.apache.org/tomcat-9.0-doc/index.html>
- input.source_facts.package-manager


## 安全说明

没有找到 tomcat@9 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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: $CATALINA_BASE/conf/server.xml, $CATALINA_BASE/conf/catalina.properties
## 源数据库详情

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

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

- Debian apt - libtomcat9-java - 9.0.95-1: package manager index match | Debian stable package indexes: libtomcat9-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 9 - Servlet and JSP engine -- core libraries | http://tomcat.apache.org
- Ubuntu apt - libtomcat9-java - 9.0.70-2: package manager index match | Ubuntu 24.04 LTS package indexes: libtomcat9-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 9 - Servlet and JSP engine -- core libraries | http://tomcat.apache.org
- apk - tomcat9 - 9.0.120-r0: package manager index match | Alpine Linux edge package indexes: tomcat9 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open source implementation of the Java Servlet 4.0 and JavaServer Pages 2.3 technologies | https://tomcat.apache.org/
- apk - tomcat9-admin - 9.0.120-r0: package manager index match | Alpine Linux edge package indexes: tomcat9-admin from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open source implementation of the Java Servlet 4.0 and JavaServer Pages 2.3 technologies (admin web applications) | https://tomcat.apache.org/
- apk - tomcat9-doc - 9.0.120-r0: package manager index match | Alpine Linux edge package indexes: tomcat9-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open source implementation of the Java Servlet 4.0 and JavaServer Pages 2.3 technologies (documentation) | https://tomcat.apache.org/
- apk - tomcat9-examples - 9.0.120-r0: package manager index match | Alpine Linux edge package indexes: tomcat9-examples from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open source implementation of the Java Servlet 4.0 and JavaServer Pages 2.3 technologies (example web applications) | https://tomcat.apache.org/
- apk - tomcat9-openrc - 9.0.120-r0: package manager index match | Alpine Linux edge package indexes: tomcat9-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open source implementation of the Java Servlet 4.0 and JavaServer Pages 2.3 technologies (OpenRC init scripts) | https://tomcat.apache.org/
- pacman - tomcat9 - 9.0.120-1: package manager index match | Arch Linux sync databases: tomcat9 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open source implementation of the Java Servlet 4.0 and JavaServer Pages 2.3 technologies | https://tomcat.apache.org/
- Scoop - versions/tomcat9: package manager index match | Scoop official bucket manifest trees: bucket/tomcat9.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1
- Nix - tomcat: versioned package alias match | nixpkgs package indexes: tomcat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- dnf - tomcat - 10.1.57-3.fc45: versioned package alias match | Fedora Rawhide package metadata: tomcat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Apache Tomcat - Servlet and JSP engine for system-wide deployment | http://tomcat.apache.org/
- dnf - tomcat-admin-webapps - 10.1.57-3.fc45: versioned package alias match | Fedora Rawhide package metadata: tomcat-admin-webapps from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Apache Tomcat - Administrative web applications | http://tomcat.apache.org/
- dnf - tomcat-common - 10.1.57-3.fc45: versioned package alias match | Fedora Rawhide package metadata: tomcat-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Apache Tomcat - Common files for Tomcat packages | http://tomcat.apache.org/
- dnf - tomcat-docs-webapp - 10.1.57-3.fc45: versioned package alias match | Fedora Rawhide package metadata: tomcat-docs-webapp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Apache Tomcat - Online documentation web application | http://tomcat.apache.org/
- dnf - tomcat-el-5.0-api - 10.1.57-3.fc45: versioned package alias match | Fedora Rawhide package metadata: tomcat-el-5.0-api from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Apache Tomcat Expression Language v5.0 API Implementation Classes | http://tomcat.apache.org/
- dnf - tomcat-jsp-3.1-api - 10.1.57-3.fc45: versioned package alias match | Fedora Rawhide package metadata: tomcat-jsp-3.1-api from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Apache Tomcat JavaServer Pages v3.1 API Implementation Classes | http://tomcat.apache.org/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [tomcat](https://pkg.so/zh-hans/brew/tomcat/) - Package name indicates the same formula family.
- [tomcat@10](https://pkg.so/zh-hans/brew/tomcat-10/) - Package name indicates the same formula family.
- [tomee-plus](https://pkg.so/zh-hans/brew/tomee-plus/) - Shares pkgdb curated category or tags: application-server, cli, developer-tools, java, tomcat.
- [tomee-webprofile](https://pkg.so/zh-hans/brew/tomee-webprofile/) - Shares pkgdb curated category or tags: application-server, cli, developer-tools, java, tomcat.
- [jetty](https://pkg.so/zh-hans/brew/jetty/) - Shares pkgdb curated category or tags: cli, developer-tools, java, servlet.
- [glassfish](https://pkg.so/zh-hans/brew/glassfish/) - Shares pkgdb curated category or tags: application-server, cli, developer-tools, java.
- [payara](https://pkg.so/zh-hans/brew/payara/) - Shares pkgdb curated category or tags: application-server, cli, developer-tools, java.
- [maven](https://pkg.so/zh-hans/brew/maven/) - Shares pkgdb curated category or tags: cli, developer-tools, java.
- [gradle](https://pkg.so/zh-hans/brew/gradle/) - Shares pkgdb curated category or tags: cli, developer-tools, java.
- [jenv](https://pkg.so/zh-hans/brew/jenv/) - Shares pkgdb curated category or tags: cli, developer-tools, java.

## Combined YAML source

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


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
