macOS
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · 来源: api.github.com
安装
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · 来源: api.github.com
sudo apk add openccAlpine Linux edge package indexes · opencc · 来源: dl-cdn.alpinelinux.org
sudo apt install openccDebian stable package indexes · opencc · 来源: deb.debian.org
sudo dnf install openccFedora Rawhide package metadata · opencc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#openccnixpkgs package indexes · pkgs/by-name/op/opencc/package.nix · 来源: api.github.com
sudo pacman -S openccArch Linux sync databases · opencc · 来源: geo.mirror.pkgbuild.com
sudo zypper install openccopenSUSE Tumbleweed package metadata · opencc · 来源: download.opensuse.org
winget install --id BYVoid.OpenCC -eWindows Package Manager source index · BYVoid.OpenCC · 来源: cdn.winget.microsoft.com
概览
Simplified-traditional Chinese conversion tool
历史
OpenCC, Open Chinese Convert, is a conversion library and CLI for Traditional Chinese, Simplified Chinese, Japanese Shinjitai, regional vocabulary variants, and character/phrase-level Chinese script conversion.
BYVoid's project page describes OpenCC as an open source Traditional/Simplified Chinese conversion project with high-quality phrase dictionaries and a C library, originally hosted on Google Code and GitHub. The source header credits Carbo Kuo and contributors from 2010 onward, giving the project a long maintenance history for what could otherwise look like a simple text filter.
The project evolved from a C/C++ conversion library and command-line tool into a multi-ecosystem package. The README lists installation paths through Debian, Ubuntu, Fedora, Arch Linux, Homebrew, WinGet, Bazel, Node.js, and Python, and includes C, C++, Node.js, and Python usage examples.
OpenCC's release history shows the project treating dictionaries and conversion behavior as first-class software. Version 1.1.0 introduced the `ocd2` dictionary format based on Marisa Trie and reduced dictionary size; version 1.3.x rewrote core conversion paths, added Jieba plugin work, and expanded diagnostics such as segmentation and inspection; version 1.4.0 raised the C++ ABI/SOVERSION to avoid silent ABI mismatches.
OpenCC became a common dependency because script conversion is not just character substitution. The project emphasizes distinctions such as one-simplified-to-many-traditional mappings, variant characters, and regional vocabulary across Mainland China, Taiwan, Hong Kong, and Japanese Shinjitai.
The package's breadth across Python, Node.js, WinGet, Linux distributions, Homebrew, and Bazel makes it useful in desktop tools, web backends, NLP preprocessing, publishing pipelines, chat applications, and input-method ecosystems. OpenCC's own documentation states that it is not a Mandarin/Cantonese translation tool, which helps frame its adoption around orthography and vocabulary variants rather than language translation.
Users run the `opencc` CLI with JSON configurations such as Simplified-to-Traditional, Traditional-to-Simplified, Taiwan phrase, Hong Kong phrase, or Japanese Shinjitai conversion modes. Developers embed the library through C/C++, Python, Node.js, or downstream ports when they need deterministic script conversion inside applications.
Dictionary maintainers and power users use `opencc_dict`, inline dictionaries, JSON/JSONC configuration, resource bundles, and diagnostic modes to inspect segmentation and conversion stages. Those tools matter because many conversion bugs are phrase-boundary or regional-vocabulary bugs rather than simple missing characters.
OpenCC is a deceptively deep package: a text converter with ABI, dictionary format, data-resource packaging, language bindings, prebuilt binaries, and region-sensitive data updates. The interesting packaging work is making the executable, shared library, dictionaries, configs, and bindings agree across platforms.
It is also a good example of data as code. Release notes are dominated by dictionary corrections, phrase additions, normalization behavior, and compatibility work, showing why downstreams need both the binary and the exact data files.
安全态势
没有找到 opencc 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
opencc | cli | 全局可执行文件 | |
opencc_dict | cli | 全局可执行文件 | |
opencc_phrase_extract | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/BYVoid/OpenCC
安装元数据
| 软件包键 | brew:opencc |
|---|---|
| 版本 | 1.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/opencc |
| 主页 | https://opencc.byvoid.com/ |
| 仓库 | https://github.com/BYVoid/OpenCC |
| 上游文档 | https://byvoid.github.io/OpenCC |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/BYVoid/OpenCC/archive/refs/tags/ver.1.4.0.tar.gz |
| 最后更新 | 2026-07-01T22:54:50Z |
| Pulse | updated |
| 依赖 | marisa |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opencc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libopencc-data 1.1.9+ds1-1
simplified-traditional Chinese conversion library - data files
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-datalibopencc-dev 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - development
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-devlibopencc-doc 1.1.9+ds1-1
simplified-traditional Chinese conversion library - document
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-doclibopencc1.1 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - runtime
https://github.com/BYVoid/OpenCC
sudo apt install libopencc1.1opencc 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion tool
https://github.com/BYVoid/OpenCC
sudo apt install openccpython3-opencc 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - Python 3.x
https://github.com/BYVoid/OpenCC
sudo apt install python3-openccopencc
nix profile install nixpkgs#opencclibopencc-data 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - data files
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-datalibopencc-dev 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - development
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-devlibopencc-doc 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - document
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-doclibopencc1.1 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - runtime
https://github.com/BYVoid/OpenCC
sudo apt install libopencc1.1opencc 1.1.7+ds1-1build1
simplified-traditional Chinese conversion tool
https://github.com/BYVoid/OpenCC
sudo apt install openccopencc 1.3.1-r0
Open Chinese Convert
sudo apk add openccopencc-dev 1.3.1-r0
Open Chinese Convert (development files)
sudo apk add opencc-devopencc-doc 1.3.1-r0
Open Chinese Convert (documentation)
sudo apk add opencc-docopencc-libs 1.3.1-r0
Open Chinese Convert (libraries)
sudo apk add opencc-libs来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.