Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, pacman, zypper, winget 安装 uchardet

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install uchardet

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install uchardet

MacPorts ports tree · textproc/uchardet/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add uchardet

Alpine Linux edge package indexes · uchardet · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install uchardet

Debian stable package indexes · uchardet · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install uchardet

Fedora Rawhide package metadata · uchardet · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S uchardet

Arch Linux sync databases · uchardet · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install uchardet

openSUSE Tumbleweed package metadata · uchardet · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id PolarGoose.uchardet -e

Windows Package Manager source index · PolarGoose.uchardet · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Encoding detector library

命令和别名

  • uchardet

历史

项目历史与用法

uchardet is a character encoding detector library and CLI derived from Mozilla's universal charset detector work. It takes unknown bytes and attempts to identify the text encoding, returning iconv-compatible names, which makes it useful in editors, import pipelines, file tools, and packaging workflows that handle legacy text.

项目历史

The freedesktop.org project page says uchardet started as a C language binding of Mozilla's original C++ universal charset detection library. The current README broadens that description to an encoding and language detector that now detects more charsets and more reliably than the original implementation while remaining reasonably fast.

The project moved from BYVoid's earlier GitHub repository to freedesktop hosting. The old repository now tells users that uchardet is a freedesktop project and points to the freedesktop page, bug tracker, releases, and code location.

freedesktop.org lists uchardet 0.0.8 as the last release on 2022-12-08, with earlier release tarballs for 0.0.6 in 2016 and 0.0.7 in 2020. The current project page links GitLab issues for bugs and patches and the GitLab repository for development code.

采用历史

uchardet is adopted wherever package users need an embeddable encoding detector rather than a full application. The batch input shows packages for Homebrew, Alpine, Debian, Ubuntu, Fedora, Arch, MacPorts, winget, and openSUSE-style systems, often split as library/development packages on Linux.

Its niche persists because encoding detection remains a practical problem for command-line text processing and data import. A small C/C++ library with iconv-compatible output is easy for downstream language bindings, desktop tools, and scripts to depend on.

使用方式

As a library, uchardet is used by passing bytes with no extra encoding information and receiving a likely encoding name, plus language detection in the current README. As a package, the uchardet executable gives shell users a direct way to inspect files before conversion or ingestion.

The supported-encodings list on freedesktop.org covers Unicode encodings plus many regional legacy encodings for Arabic, Chinese, Japanese, Korean, Cyrillic, Central European, Western European, Thai, Turkish, Vietnamese, and other text families.

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

uchardet is package-nerd significant because it is infrastructure: it rarely sits at the center of a user's workflow, but it helps many tools make better guesses about old or mislabeled text.

Its history also shows a common open-source maintenance path: a useful standalone project migrates from a personal GitHub repository to freedesktop infrastructure, gains release tarballs and issue tracking there, and remains widely packaged as both a command and a development library.

时间线

  • 2015: The old BYVoid GitHub repository lists version 0.0.5 as its latest release before the freedesktop move.
  • 2016: freedesktop.org publishes uchardet 0.0.6 release tarballs.
  • 2020: freedesktop.org publishes uchardet 0.0.7 release tarballs.
  • 2022: freedesktop.org publishes uchardet 0.0.8 and lists it as the last release.

Related projects

  • Mozilla's universal charset detector is the direct upstream lineage named by the project.
  • iconv/libiconv is the compatibility target for returned encoding names.
  • Language bindings and downstream packages use uchardet as a small encoding-detection dependency.

来源

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 12 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
uchardetcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.0.8
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.freedesktop.org/wiki/Software/uchardet/

安装元数据

软件包元数据

软件包键brew:uchardet
版本0.0.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/uchardet
主页https://www.freedesktop.org/wiki/Software/uchardet/
仓库https://gitlab.freedesktop.org/uchardet/uchardet
上游文档https://www.freedesktop.org/wiki/Software/uchardet
许可证MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later
源码归档https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz
构建依赖cmake
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameuchardet
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libuchardet-dev 0.0.8-1+b2

universal charset detection library - development files

https://www.freedesktop.org/wiki/Software/uchardet/

sudo apt install libuchardet-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: uchardet
  • 2 依赖
  • normalized package name match
  • 匹配方式:Uchardet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libuchardet-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libuchardet0 0.0.8-1+b2

universal charset detection library - shared library

https://www.freedesktop.org/wiki/Software/uchardet/

sudo apt install libuchardet0
  • Section: libs
  • Architecture: amd64
  • Source Package: uchardet
  • 3 依赖
  • normalized package name match
  • 匹配方式:Uchardet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libuchardet0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

uchardet 0.0.8-1+b2

universal charset detection library - cli utility

https://www.freedesktop.org/wiki/Software/uchardet/

sudo apt install uchardet
  • Section: utils
  • Architecture: amd64
  • Source Package: uchardet
  • 2 依赖
  • normalized package name match
  • 匹配方式:Uchardet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: uchardet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libuchardet-dev 0.0.8-1build1

universal charset detection library - development files

https://www.freedesktop.org/wiki/Software/uchardet/

sudo apt install libuchardet-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: uchardet
  • 2 依赖
  • normalized package name match
  • 匹配方式:Uchardet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libuchardet-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libuchardet0 0.0.8-1build1

universal charset detection library - shared library

https://www.freedesktop.org/wiki/Software/uchardet/

sudo apt install libuchardet0
  • Section: libs
  • Architecture: amd64
  • Source Package: uchardet
  • 3 依赖
  • normalized package name match
  • 匹配方式:Uchardet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libuchardet0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

uchardet 0.0.8-1build1

universal charset detection library - cli utility

https://www.freedesktop.org/wiki/Software/uchardet/

sudo apt install uchardet
  • Section: utils
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Uchardet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: uchardet from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

uchardet 0.0.8-r2

Encoding detector library ported from Mozilla

https://www.freedesktop.org/wiki/Software/uchardet

sudo apk add uchardet
  • License: MPL-1.1
  • Architecture: x86_64
  • Source Package: uchardet
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uchardet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uchardet from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uchardet-dev 0.0.8-r2

Encoding detector library ported from Mozilla (development files)

https://www.freedesktop.org/wiki/Software/uchardet

sudo apk add uchardet-dev
  • License: MPL-1.1
  • Architecture: x86_64
  • Source Package: uchardet
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uchardet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uchardet-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uchardet-doc 0.0.8-r2

Encoding detector library ported from Mozilla (documentation)

https://www.freedesktop.org/wiki/Software/uchardet

sudo apk add uchardet-doc
  • License: MPL-1.1
  • Architecture: x86_64
  • Source Package: uchardet
  • normalized package name match
  • 匹配方式:Uchardet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uchardet-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uchardet-libs 0.0.8-r2

Encoding detector library ported from Mozilla (libraries)

https://www.freedesktop.org/wiki/Software/uchardet

sudo apk add uchardet-libs
  • License: MPL-1.1
  • Architecture: x86_64
  • Source Package: uchardet
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uchardet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uchardet-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uchardet-static 0.0.8-r2

Encoding detector library ported from Mozilla (static library)

https://www.freedesktop.org/wiki/Software/uchardet

sudo apk add uchardet-static
  • License: MPL-1.1
  • Architecture: x86_64
  • Source Package: uchardet
  • normalized package name match
  • 匹配方式:Uchardet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uchardet-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

uchardet 0.0.8-10.fc44

An encoding detector library ported from Mozilla

https://www.freedesktop.org/wiki/Software/uchardet

sudo dnf install uchardet
  • License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: uchardet
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Uchardet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: uchardet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

uchardet-devel 0.0.8-10.fc44

Development files for uchardet

https://www.freedesktop.org/wiki/Software/uchardet

sudo dnf install uchardet-devel
  • License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: uchardet
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Uchardet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: uchardet-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

uchardet 0.0.8-4

Encoding detector library ported from Mozilla

https://www.freedesktop.org/wiki/Software/uchardet

sudo pacman -S uchardet
  • License: MPL-1.1
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Uchardet
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: uchardet from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libuchardet-devel 0.0.8-2.3

Universal Charset Detection Library

https://www.freedesktop.org/wiki/Software/uchardet/

sudo zypper install libuchardet-devel
  • License: GPL-2.0-or-later OR MPL-1.1 OR LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: uchardet
  • 2 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Uchardet
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libuchardet-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libuchardet0 0.0.8-2.3

Universal Charset Detection Library

https://www.freedesktop.org/wiki/Software/uchardet/

sudo zypper install libuchardet0
  • License: GPL-2.0-or-later OR MPL-1.1 OR LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: uchardet
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Uchardet
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libuchardet0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment