macOS
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de opencc pour les workflows d'agents IA.
installation
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · Source: api.github.com
sudo apk add openccAlpine Linux edge package indexes · opencc · Source: dl-cdn.alpinelinux.org
sudo apt install openccDebian stable package indexes · opencc · Source: deb.debian.org
sudo dnf install openccFedora Rawhide package metadata · opencc · Source: dl.fedoraproject.org
nix profile install nixpkgs#openccnixpkgs package indexes · pkgs/by-name/op/opencc/package.nix · Source: api.github.com
sudo pacman -S openccArch Linux sync databases · opencc · Source: geo.mirror.pkgbuild.com
sudo zypper install openccopenSUSE Tumbleweed package metadata · opencc · Source: download.opensuse.org
winget install --id BYVoid.OpenCC -eWindows Package Manager source index · BYVoid.OpenCC · Source: cdn.winget.microsoft.com
aperçu
Simplified-traditional Chinese conversion tool
historique
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.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour opencc. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
opencc | cli | exécutable global | |
opencc_dict | cli | exécutable global | |
opencc_phrase_extract | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/BYVoid/OpenCC
métadonnées d'installation
| Clé du paquet | brew:opencc |
|---|---|
| Version | 1.4.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/opencc |
| Page d'accueil | https://opencc.byvoid.com/ |
| Dépôt | https://github.com/BYVoid/OpenCC |
| Docs amont | https://byvoid.github.io/OpenCC |
| Licence | Apache-2.0 |
| Archive source | https://github.com/BYVoid/OpenCC/archive/refs/tags/ver.1.4.0.tar.gz |
| Dernière mise à jour | 2026-07-01T22:54:50Z |
| Pulse | updated |
| Dépendances | marisa |
| Dépendances de compilation | cmake |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-libspiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.