# 使用 Homebrew 安装 openliberty-microprofile4

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

## 安装

```sh
sudo av install brew:openliberty-microprofile4
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install openliberty-microprofile4
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:openliberty-microprofile4
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/openliberty-microprofile4>
- **版本:** 26.0.0.7
- **来源摘要:** Lightweight open framework for Java (Micro Profile 4)
- **主页:** <https://openliberty.io>
- **上游文档:** <https://openliberty.io>
- **许可证:** EPL-1.0
- **源码归档:** <https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/release/26.0.0.7/openliberty-microProfile4-26.0.0.7.zip>
- **最后更新:** 2026-07-30T10:53:33+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- openliberty-microprofile4 (cli)
- openliberty-microprofile4 (别名)

## 依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- 注意事项: The home of Open Liberty Micro Profile 4 is: $HOMEBREW_PREFIX/opt/openliberty-microprofile4/libexec
- Bottle: 可用 于 all

## 版本和新鲜度

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

openliberty-microprofile4 is the Homebrew Open Liberty distribution aimed at Eclipse MicroProfile 4.0 workloads. It packages the same Open Liberty runtime lineage around the MicroProfile API set for cloud-native Java services rather than around the full Jakarta EE platform.

### 项目历史

Open Liberty was open sourced by IBM in 2017 from Liberty, a runtime IBM started in 2012 for small footprint, modular configuration, and flexible Java deployment. The project has since acted as IBM's open implementation base for Jakarta EE and Eclipse MicroProfile and as the foundation for WebSphere Liberty.

MicroProfile emerged to standardize APIs common in Java microservices. Open Liberty's `microProfile-4.0` feature combines Liberty support for Eclipse MicroProfile 4.0 for Cloud Native Java and includes capabilities such as Config 2.0, Fault Tolerance 3.0, Health 3.0, Metrics 3.0, OpenAPI 2.0, OpenTracing 2.0, and Rest Client 2.0.

### 采用历史

Open Liberty has long used MicroProfile as part of its cloud-native positioning: enterprise Java teams could run a smaller set of service-oriented APIs without enabling a whole Jakarta EE platform. MicroProfile 4.0 aligned with Jakarta EE 8, which made it a useful bridge for organizations already standardized on Java EE 8 APIs while adopting microservice conventions.

A MicroProfile-specific package is attractive to developers and operators who care about the exact API bundle available on disk. It separates the microservice profile from Open Liberty's Jakarta EE full-platform and Web Profile packages.

### 使用方式

In a Liberty server, the MicroProfile 4.0 convenience feature is enabled with `<feature>microProfile-4.0</feature>` in `server.xml`. That enables CDI, JAX-RS, JSON-B, JSON-P, Servlet, and the MicroProfile APIs used for externalized configuration, health endpoints, metrics, OpenAPI descriptions, fault tolerance, tracing, JWT, and REST clients.

Developers use this runtime for local service development, CI checks, and deployment packaging where the application expects MicroProfile 4 behavior. The same Open Liberty ecosystem also offers Maven and Gradle plugins, container images, and IDE tooling for iterative dev mode.

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

This formula is notable because it tracks an API profile, not just an upstream release train. Package managers that expose Open Liberty by MicroProfile level let users install a runtime whose compatibility promise is visible in the package name.

It also captures the enterprise Java split between platform profiles and microservice profiles: `openliberty-microprofile4` overlaps with Jakarta EE components but exists for a different operational story.

### 时间线

- 2012: Liberty began inside IBM as a lightweight runtime.
- 2017: IBM opened Liberty development as Open Liberty on GitHub.
- 2021: MicroProfile 4.0 aligned with Jakarta EE 8 and was documented in Open Liberty tutorials and feature references.
- Open Liberty documentation defines `microProfile-4.0` as the convenience feature for Eclipse MicroProfile 4.0 for Cloud Native Java.

### Related projects

- Related technologies include Eclipse MicroProfile, Jakarta EE 8, Open Liberty's MicroProfile feature family, WebSphere Liberty, and the Open Liberty Maven and Gradle plugins.

### 来源

- <https://formulae.brew.sh/formula/openliberty-microprofile4>
- <https://github.com/openliberty>
- <https://microprofile.io/2021/04/12/a-deep-dive-into-microprofile-4-0-with-open-liberty/>
- <https://openliberty.io/blog/2022/09/21/history-maker-projects.html>
- <https://openliberty.io/docs/latest/reference/feature/microProfile-4.0.html>
- <https://openliberty.io/start/>


## 安全说明

没有找到 openliberty-microprofile4 的匹配本地密钥处理 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: ${wlp.user.dir}/servers/${wlp.server.name}/server.xml, ${wlp.user.dir}/servers/${wlp.server.name}/bootstrap.properties, ${wlp.user.dir}/servers/${wlp.server.name}/server.env, ${wlp.user.dir}/servers/${wlp.server.name}/jvm.options
## 源数据库详情

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


## 相关链接

- [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.
- [openliberty-webprofile8](https://pkg.so/zh-hans/brew/openliberty-webprofile8/) - Shares the same upstream homepage.
- [openliberty-jakartaee8](https://pkg.so/zh-hans/brew/openliberty-jakartaee8/) - Shares the same upstream homepage.
- [openliberty-jakartaee9](https://pkg.so/zh-hans/brew/openliberty-jakartaee9/) - Shares the same upstream homepage.
- [openliberty-webprofile9](https://pkg.so/zh-hans/brew/openliberty-webprofile9/) - Shares the same upstream homepage.
- [roadrunner](https://pkg.so/zh-hans/brew/roadrunner/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure.
- [tomcat](https://pkg.so/zh-hans/brew/tomcat/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, java.
- [tomcat@10](https://pkg.so/zh-hans/brew/tomcat-10/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure, java.
- [passenger](https://pkg.so/zh-hans/brew/passenger/) - Shares pkgdb curated category or tags: application-server, cli, cloud-infrastructure.

## Combined YAML source

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


## 来源

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