Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, pacman, apt, dnf, Nix, zypper 安装 ksh93

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ksh93

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ksh93

MacPorts ports tree · shells/ksh93/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

Nix已验证 · 92%
nix profile install nixpkgs#ksh

nixpkgs package indexes · pkgs/by-name/ks/ksh/package.nix · 来源: api.github.com

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

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

概览

软件包摘要

KornShell, ksh93

命令和别名

  • ksh
  • ksh93
  • rksh
  • rksh93
  • shcomp

历史

项目历史与用法

KornShell 93 is the KSH-93 line of David Korn's KornShell language, carried forward as a Unix shell, scripting language, and POSIX-oriented command environment. The Homebrew ksh93 package points at the community 93u+m continuation, which is based on AT&T's last stable 93u+ release dated 2012-08-01.

项目历史

The ksh93 README republishes the 1993 AT&T description of KSH-93 as the version of the KornShell language described in The KornShell Command and Programming Language, compatible with Bourne shell scripts and intended to conform to the IEEE POSIX shell and utilities standard. That lineage made ksh93 both a production Unix shell and a language-runtime package with features beyond traditional sh.

The ksh93/ksh project began as a community reboot from AT&T AST sources after an attempted 2017-2020 ksh2020 refactoring effort was abandoned. The maintainers chose the older stable 93u+ code as the base and backported fixes from ksh2020, distribution patches from OpenSUSE, Red Hat, and Solaris, and new community fixes.

采用历史

KornShell has long been part of commercial and open Unix culture, especially where POSIX shell compatibility, stronger scripting features, and historical vendor scripts mattered. The 93u+m README notes that Debian and Slackware began packaging 93u+m as their default ksh93 version in late 2021, marking the community fork's transition from preservation project to distro-consumed shell.

使用方式

Users run ksh93 as an interactive shell, as a /bin/sh-compatible scripting engine, and through related tools such as rksh and shcomp. It matters most where shell-language compatibility, arithmetic and scripting features, or existing ksh scripts are more important than using bash or zsh.

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

ksh93 is package-nerd significant because it is not just another shell binary: it is a maintained survival path for AT&T AST code, legacy KornShell scripts, POSIX conformance work, and old Unix assumptions that still surface in modern distributions.

时间线

  • 1993: AT&T described KSH-93 as the KornShell language release aligned with the POSIX shell and utilities standard.
  • 2012-08-01: AT&T's stable ksh93u+ release became the base for the later 93u+m community reboot.
  • 2017-2020: The ksh2020 refactoring attempt tried to revive the unstable 93v- beta line and was later abandoned.
  • Late 2021: Debian and Slackware began packaging ksh 93u+m as their default ksh93 version.

Related projects

  • Related projects and lineages include the Bourne shell, POSIX sh, KSH-88, AT&T AST, ksh2020, bash, and zsh.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kshcli全局可执行文件
ksh93cli全局可执行文件
rkshcli全局可执行文件
rksh93cli全局可执行文件
shcompcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本1.0.10
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.0.10

https://github.com/ksh93/ksh

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:ksh93
版本1.0.10
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ksh93
主页https://github.com/ksh93/ksh
仓库https://github.com/ksh93/ksh
上游文档https://github.com/ksh93/ksh#readme
许可证EPL-2.0
源码归档https://github.com/ksh93/ksh/archive/refs/tags/v1.0.10.tar.gz
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

pacman95%

ksh 2020.0.0-3

The Original AT&T Korn Shell

http://kornshell.org/

sudo pacman -S ksh
  • License: EPL
  • Architecture: x86_64
  • 1 提供
  • normalized package name match
  • 匹配方式:Ksh93
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ksh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

ksh93

sudo port install ksh93
  • normalized package name match
  • 匹配方式:Ksh93
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/ksh93/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

ksh

sudo port install ksh
  • installed executable or alias match
  • 匹配方式:Ksh
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/ksh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

ksh 20240113-1.0.10-2

transitional package

http://www.kornshell.com/

sudo apt install ksh
  • Section: shells
  • Architecture: all
  • Source Package: ksh93u+m
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Ksh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ksh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

ksh

nix profile install nixpkgs#ksh
  • installed executable or alias match
  • 匹配方式:Ksh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ks/ksh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

ksh 20240113

transitional package

http://www.kornshell.com/

sudo apt install ksh
  • Section: universe/shells
  • Architecture: all
  • Source Package: ksh93u+m
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Ksh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ksh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf92%

ksh 1.0.10-8.fc44

The Original ATT Korn Shell

http://www.kornshell.com/

sudo dnf install ksh
  • License: EPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ksh
  • 10 依赖
  • 4 提供
  • installed executable or alias match
  • 匹配方式:Ksh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ksh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

ksh 93vu-12.4

Korn Shell

http://www.research.att.com/~gsf/download/

sudo zypper install ksh
  • License: CPL-1.0 AND EPL-1.0
  • Category: System/Shells
  • Architecture: x86_64
  • Source Package: ksh
  • 8 依赖
  • 5 提供
  • installed executable or alias match
  • 匹配方式:Ksh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ksh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

ksh-devel 93vu-12.4

Korn Shell development environment

http://www.research.att.com/~gsf/download/

sudo zypper install ksh-devel
  • License: CPL-1.0
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: ksh
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Ksh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ksh-devel 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