Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, chocolatey, scoop, winget 安装 octave

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install octave

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install octave

MacPorts ports tree · math/octave/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

nixpkgs package indexes · octave · 来源: raw.githubusercontent.com

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

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

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

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

Windows

Chocolatey已验证 · 92%
choco install Octave

Chocolatey community package catalog · Octave · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/octave

Scoop official bucket manifest trees · bucket/octave.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id GNU.Octave -e

Windows Package Manager source index · GNU.Octave · 来源: cdn.winget.microsoft.com

概览

软件包摘要

High-level interpreted language for numerical computing

命令和别名

  • mkoctfile
  • mkoctfile-11.1.0
  • octave
  • octave-11.1.0
  • octave-cli
  • octave-cli-11.1.0
  • octave-config
  • octave-config-11.1.0

历史

项目历史与用法

GNU Octave is a high-level language and interactive environment for numerical computation, built around matrix-oriented programming and broad MATLAB compatibility. It is used from a GUI, CLI, scripts, batch jobs, and native extension interfaces for scientific computing, engineering, teaching, and reproducible research workflows.

项目历史

Octave began as companion software for an undergraduate chemical reactor design textbook by James B. Rawlings and John G. Ekerdt. The official about page says full-time development began in spring 1992, the first alpha release was published on 1993-01-04, and version 1.0 was released on 1994-02-17.

John W. Eaton is identified by the project FAQ as the original author, with discussions starting around 1988 and full-time development beginning in February 1992. The name honors Octave Levenspiel, a chemical reaction engineering professor known for back-of-the-envelope calculations, not music.

Octave became GNU Octave in 1997 beginning with version 2.0.6, aligning the project with GNU infrastructure and coding standards while remaining a community-developed numerical environment. The official manual and FAQ describe a system that grew far beyond courseware into a general-purpose free-software platform for numerical experiments.

采用历史

The official about page says Octave is included with many GNU/Linux distributions, and the package metadata in av.db shows packaging across Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, Alpine, Chocolatey, Scoop, winget, and openSUSE-family repositories. That distribution coverage is central to its role as the free-software MATLAB-like environment users can install from ordinary package managers.

The Octave manual documents use in chemical engineering courses, mathematics teaching, Stanford’s online Machine Learning class, and broader teaching, research, and commercial applications. The FAQ describes users ranging from students to researchers in statistics, machine learning, and data analytics, plus universities, companies, and individual users.

Octave Forge and the Octave package ecosystem extend the core system in a MATLAB-toolbox-like model. The FAQ describes Octave Forge as a collection of packages for GNU Octave, a test bed for code that may later move into core, and a source of binaries for systems lacking developer tools.

使用方式

Users run `octave` or `octave-cli` interactively, execute `.m` scripts, use the Qt GUI/IDE for editing and debugging, and call numerical routines for linear and nonlinear equations, numerical linear algebra, statistics, plotting, and automated data processing. The manual emphasizes both the GUI-hosted IDE and the command-line interface.

Developers package and extend Octave through `.m` files, dynamically loadable modules built with `mkoctfile`, MEX-compatible interfaces, startup files such as `octaverc`, and add-on packages. The Homebrew package’s executables include versioned and unversioned `octave`, `octave-cli`, `mkoctfile`, and `octave-config`, reflecting both end-user and extension-building workflows.

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

Octave is one of the flagship free numerical-computing packages: it combines a language runtime, CLI, GUI, plotting stack, native-code extension build tools, documentation, and package ecosystem into a single distribution artifact. For package managers it is challenging and interesting because it touches Fortran and C++ numerical libraries, graphics back ends, documentation, GUI dependencies, and ABI-sensitive extension building.

Its MATLAB compatibility gives it a distinctive package-nerd role. Octave is not merely another calculator or scripting language; it is the installable free-software answer for users who need to run or port matrix-oriented `.m` code, teach numerical methods, or reproduce scientific computations without proprietary tooling.

时间线

  • 1988: project discussions began around software for chemical reactor design education.
  • 1992: John W. Eaton began full-time development.
  • 1993-01-04: first alpha release.
  • 1994-02-17: version 1.0 release.
  • 1997: Octave became GNU Octave beginning with version 2.0.6.
  • 2011: the FAQ says GNU Octave began regular participation as a mentoring organization in Summer of Code events.
  • 2026: the official manual citation page identifies GNU Octave 11.1.0 documentation.

Related projects

  • GNU Octave is closely related to MATLAB-compatible `.m` language workflows, Octave Forge packages, BLAS/LAPACK-style numerical libraries, plotting systems, and comparable numerical environments such as Scilab, FreeMat, Julia, Python/SciPy, and R.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 31 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

local files

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

Config paths the tool may read or write during local use.

Unix
<octave-home>/share/octave/site/m/startup/octaverc<octave-home>/share/octave/<version>/m/startup/octaverc<config-dir>/octave/octaverc~/.octaverc.octavercstartup.m

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mkoctfilecli全局可执行文件
mkoctfile-11.1.0cli全局可执行文件
octavecli全局可执行文件
octave-11.1.0cli全局可执行文件
octave-clicli全局可执行文件
octave-cli-11.1.0cli全局可执行文件
octave-configcli全局可执行文件
octave-config-11.1.0cli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://octave.org/index.html

安装元数据

软件包元数据

软件包键brew:octave
版本11.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/octave
主页https://octave.org/index.html
仓库https://hg.octave.org/octave
上游文档https://docs.octave.org/octave
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/octave/octave-11.3.0.tar.xz
最后更新2026-07-06T01:46:10Z
Pulseupdated
依赖arpack, epstool, fftw, fig2dev, fltk, fontconfig, freetype, gcc, ghostscript, gl2ps, glpk, graphicsmagick, hdf5, libsndfile, libtool, little-cms2, openblas, pcre2, portaudio, pstoedit, qhull, qrupdate, qscintilla2, qt5compat, qtbase, qttools, rapidjson, readline, suite-sparse, sundials, texinfo
构建依赖gnu-sed, openjdk, pkgconf
macOS 提供的库bzip2, curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

octave 9.4.0-1

GNU Octave language for numerical computations

https://www.octave.org/

sudo apt install octave
  • Section: math
  • Architecture: amd64
  • 32 依赖
  • 1 提供
  • 10 可选依赖
  • normalized package name match
  • 匹配方式:Octave
Debian stable package indexes · deb.debian.org · Debian stable package indexes: octave from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

octave-common 9.4.0-1

architecture-independent files for octave

https://www.octave.org/

sudo apt install octave-common
  • Section: math
  • Architecture: all
  • Source Package: octave
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Octave
Debian stable package indexes · deb.debian.org · Debian stable package indexes: octave-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

octave-dev 9.4.0-1

development files for the GNU Octave language

https://www.octave.org/

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

octave-doc 9.4.0-1

documentation of the GNU Octave language

https://www.octave.org/

sudo apt install octave-doc
  • Section: doc
  • Architecture: all
  • Source Package: octave
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Octave
Debian stable package indexes · deb.debian.org · Debian stable package indexes: octave-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

octave

nix profile install nixpkgs#octave
  • normalized package name match
  • 匹配方式:Octave
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: octave from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

octave 8.4.0-1build5

GNU Octave language for numerical computations

https://www.octave.org/

sudo apt install octave
  • Section: universe/math
  • Architecture: amd64
  • 32 依赖
  • 1 提供
  • 10 可选依赖
  • normalized package name match
  • 匹配方式:Octave
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: octave from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

octave-common 8.4.0-1build5

architecture-independent files for octave

https://www.octave.org/

sudo apt install octave-common
  • Section: universe/math
  • Architecture: all
  • Source Package: octave
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Octave
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: octave-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

octave-dev 8.4.0-1build5

development files for the GNU Octave language

https://www.octave.org/

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

octave-doc 8.4.0-1build5

documentation of the GNU Octave language

https://www.octave.org/

sudo apt install octave-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: octave
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Octave
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: octave-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

octave 11.1.0-r0

High-level language for numerical computations

https://octave.org/

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

octave-dev 11.1.0-r0

High-level language for numerical computations (development files)

https://octave.org/

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

octave-doc 11.1.0-r0

High-level language for numerical computations (documentation)

https://octave.org/

sudo apk add octave-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: octave
  • normalized package name match
  • 匹配方式:Octave
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: octave-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

octave 11.3.0-1.fc45

A high-level language for numerical computations

http://www.octave.org

sudo dnf install octave
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: octave
  • 32 依赖
  • 10 提供
  • normalized package name match
  • 匹配方式:Octave
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: octave from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

octave-devel 11.3.0-1.fc45

Development headers and files for Octave

http://www.octave.org

sudo dnf install octave-devel
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: octave
  • 16 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Octave
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: octave-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

octave-doc 11.3.0-1.fc45

Documentation for Octave

http://www.octave.org

sudo dnf install octave-doc
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: octave
  • 1 提供
  • normalized package name match
  • 匹配方式:Octave
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: octave-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

octave 11.3.0-1

A high-level language, primarily intended for numerical computations

https://www.gnu.org/software/octave/

sudo pacman -S octave
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 17 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Octave
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: octave from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment