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

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tomcat@10
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install tomcat10
```

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

- pacman (92%):

```sh
sudo pacman -S tomcat10
```

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

- zypper (92%):

```sh
sudo zypper install tomcat10
```

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

- 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

### Windows

- Scoop (92%):

```sh
scoop install versions/tomcat10
```

  证据: Scoop official bucket manifest trees: bucket/tomcat10.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@10
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tomcat@10>
- **版本:** 10.1.57
- **来源摘要:** 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-10/v10.1.57/bin/apache-tomcat-10.1.57.tar.gz>
- **最后更新:** 2026-07-07T20:34:54Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 依赖

- openjdk

## 安装行为

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

## 版本和新鲜度

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

Apache Tomcat 10 is the Jakarta EE-era Tomcat line. In package-manager terms, `tomcat@10` is valuable because it pins users to the Tomcat 10 family rather than the newest major Tomcat, preserving the Servlet/Jakarta API level expected by applications.

### 项目历史

Tomcat 10.0.x built on Tomcat 9.0.x and implemented the Jakarta EE 9 generation of APIs: Servlet 5.0, JSP/Jakarta Pages 3.0, EL 4.0, WebSocket 2.0, and Authentication 2.0. Apache's migration guide calls out the central break from Tomcat 9: specification packages changed from `javax.*` to `jakarta.*`, requiring recompilation or migration of applications.

Tomcat 10.1.x then built on Tomcat 10.0.x and implements the Jakarta EE 10 generation: Servlet 6.0, Pages 3.1, EL 5.0, WebSocket 2.1, and Authentication 3.0. Apache's version matrix lists Tomcat 10.1.x as a current supported line and Tomcat 10.0.x as superseded, with 10.0.27 as the final 10.0 release.

### 采用历史

Tomcat 10 adoption is tied to the Java EE to Jakarta EE transition. Apache's homepage warns that applications running on Tomcat 9 and earlier do not run on Tomcat 10 without changes, and documents an automatic conversion path through `$CATALINA_BASE/webapps-javaee` plus the Apache Tomcat migration tool for Jakarta EE.

The input package metadata shows why package managers keep an explicit Tomcat 10 identity: Homebrew uses `tomcat@10`, Arch uses `tomcat10`, Scoop has `versions/tomcat10`, and Debian/Ubuntu expose Tomcat 10 embedding packages. That split lets users install a supported Jakarta EE 10-era container without accidentally jumping to a later major line.

### 使用方式

Users install Tomcat 10 to run Jakarta Servlet/Jakarta Pages applications, test migrations from Tomcat 9, and host web apps that have already moved to `jakarta.*` APIs. The same operational model remains: `catalina` starts and manages the server, while `$CATALINA_BASE/conf/server.xml`, `catalina.properties`, and `tomcat-users.xml` hold core configuration and local user credentials.

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

For package nerds, `tomcat@10` is a versioned formula that encodes a major compatibility boundary. It is not merely an older Tomcat: it represents the Jakarta namespace migration, Java runtime floor changes, branch tracking for 10.1.x, and the need to keep application-server packages installable by API generation.

### 时间线

- Tomcat 10.0.x: Apache documents the Jakarta namespace migration from `javax.*` to `jakarta.*`.
- 2022: Tomcat 10.0.x reached end of life on 2022-10-31.
- 2026: Apache lists Tomcat 10.1.56 as the latest supported Tomcat 10.1.x release and documents Java 11 or later for 10.1.x.

### Related projects

- The official source page lists the same `tomcat.git` repository for Tomcat 10.1.x development, and related projects include the Apache Tomcat migration tool for Jakarta EE, Tomcat Native, Tomcat Connectors, Taglibs, and the Tomcat Maven Plugin.

### 来源

- <https://tomcat.apache.org/>
- <https://tomcat.apache.org/migration-10.1.html>
- <https://tomcat.apache.org/migration-10.html>
- <https://tomcat.apache.org/source.html>
- <https://tomcat.apache.org/whichversion.html>
- source_facts.package-manager


## 安全说明

没有找到 tomcat@10 的匹配本地密钥处理 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, $CATALINA_BASE/conf/tomcat-users.xml

## Credential files

- Unix: $CATALINA_BASE/conf/tomcat-users.xml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tomcat@10
- **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 - libtomcat10-embed-java - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: libtomcat10-embed-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine -- embed libraries | http://tomcat.apache.org
- Debian apt - libtomcat10-java - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: libtomcat10-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine -- core libraries | http://tomcat.apache.org
- Debian apt - tomcat10 - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: tomcat10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine | http://tomcat.apache.org
- Debian apt - tomcat10-admin - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: tomcat10-admin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine -- admin web applications | http://tomcat.apache.org
- Debian apt - tomcat10-common - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: tomcat10-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine -- common files | http://tomcat.apache.org
- Debian apt - tomcat10-docs - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: tomcat10-docs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine -- documentation | http://tomcat.apache.org
- Debian apt - tomcat10-examples - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: tomcat10-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine -- example web applications | http://tomcat.apache.org
- Debian apt - tomcat10-user - 10.1.55-1~deb13u1: package manager index match | Debian stable package indexes: tomcat10-user from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Tomcat 10 - Servlet and JSP engine -- tools to create user instances | http://tomcat.apache.org
- Ubuntu apt - libtomcat10-embed-java - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: libtomcat10-embed-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine -- embed libraries | http://tomcat.apache.org
- Ubuntu apt - libtomcat10-java - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: libtomcat10-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine -- core libraries | http://tomcat.apache.org
- Ubuntu apt - tomcat10 - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: tomcat10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine | http://tomcat.apache.org
- Ubuntu apt - tomcat10-admin - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: tomcat10-admin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine -- admin web applications | http://tomcat.apache.org
- Ubuntu apt - tomcat10-common - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: tomcat10-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine -- common files | http://tomcat.apache.org
- Ubuntu apt - tomcat10-docs - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: tomcat10-docs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine -- documentation | http://tomcat.apache.org
- Ubuntu apt - tomcat10-examples - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: tomcat10-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine -- example web applications | http://tomcat.apache.org
- Ubuntu apt - tomcat10-user - 10.1.16-1: package manager index match | Ubuntu 24.04 LTS package indexes: tomcat10-user from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Tomcat 10 - Servlet and JSP engine -- tools to create user instances | http://tomcat.apache.org


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service 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@9](https://pkg.so/zh-hans/brew/tomcat-9/) - Package name indicates the same formula family.
- [openliberty-webprofile8](https://pkg.so/zh-hans/brew/openliberty-webprofile8/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, jakarta-ee, java.
- [tomee-plume](https://pkg.so/zh-hans/brew/tomee-plume/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, jakarta-ee, java.
- [openliberty-webprofile9](https://pkg.so/zh-hans/brew/openliberty-webprofile9/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, jakarta-ee, java.
- [openliberty-microprofile4](https://pkg.so/zh-hans/brew/openliberty-microprofile4/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, java.
- [openliberty-jakartaee8](https://pkg.so/zh-hans/brew/openliberty-jakartaee8/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, java.
- [openliberty-jakartaee9](https://pkg.so/zh-hans/brew/openliberty-jakartaee9/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, java.
- [cdktf](https://pkg.so/zh-hans/brew/cdktf/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, java.

## Combined YAML source

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