macOS
brew install octavelocal Homebrew formula metadata
sudo port install octaveMacPorts ports tree · math/octave/Portfile · 来源: api.github.com
安装
brew install octavelocal Homebrew formula metadata
sudo port install octaveMacPorts ports tree · math/octave/Portfile · 来源: api.github.com
sudo apk add octaveAlpine Linux edge package indexes · octave · 来源: dl-cdn.alpinelinux.org
sudo apt install octaveDebian stable package indexes · octave · 来源: deb.debian.org
sudo dnf install octaveFedora Rawhide package metadata · octave · 来源: dl.fedoraproject.org
nix profile install nixpkgs#octavenixpkgs package indexes · octave · 来源: raw.githubusercontent.com
sudo pacman -S octaveArch Linux sync databases · octave · 来源: geo.mirror.pkgbuild.com
sudo zypper install octaveopenSUSE Tumbleweed package metadata · octave · 来源: download.opensuse.org
choco install OctaveChocolatey community package catalog · Octave · 来源: community.chocolatey.org
scoop install main/octaveScoop official bucket manifest trees · bucket/octave.json · 来源: api.github.com
winget install --id GNU.Octave -eWindows Package Manager source index · GNU.Octave · 来源: cdn.winget.microsoft.com
概览
High-level interpreted language for numerical computing
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
<octave-home>/share/octave/site/m/startup/octaverc<octave-home>/share/octave/<version>/m/startup/octaverc<config-dir>/octave/octaverc~/.octaverc.octavercstartup.m可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mkoctfile | cli | 全局可执行文件 | |
mkoctfile-11.1.0 | cli | 全局可执行文件 | |
octave | cli | 全局可执行文件 | |
octave-11.1.0 | cli | 全局可执行文件 | |
octave-cli | cli | 全局可执行文件 | |
octave-cli-11.1.0 | cli | 全局可执行文件 | |
octave-config | cli | 全局可执行文件 | |
octave-config-11.1.0 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | octave |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
octave 9.4.0-1
GNU Octave language for numerical computations
sudo apt install octaveoctave-common 9.4.0-1
architecture-independent files for octave
sudo apt install octave-commonoctave-dev 9.4.0-1
development files for the GNU Octave language
sudo apt install octave-devoctave-doc 9.4.0-1
documentation of the GNU Octave language
sudo apt install octave-dococtave
nix profile install nixpkgs#octaveoctave 8.4.0-1build5
GNU Octave language for numerical computations
sudo apt install octaveoctave-common 8.4.0-1build5
architecture-independent files for octave
sudo apt install octave-commonoctave-dev 8.4.0-1build5
development files for the GNU Octave language
sudo apt install octave-devoctave-doc 8.4.0-1build5
documentation of the GNU Octave language
sudo apt install octave-dococtave 11.1.0-r0
High-level language for numerical computations
sudo apk add octaveoctave-dev 11.1.0-r0
High-level language for numerical computations (development files)
sudo apk add octave-devoctave-doc 11.1.0-r0
High-level language for numerical computations (documentation)
sudo apk add octave-dococtave 11.3.0-1.fc45
A high-level language for numerical computations
sudo dnf install octaveoctave-devel 11.3.0-1.fc45
Development headers and files for Octave
sudo dnf install octave-develoctave-doc 11.3.0-1.fc45
Documentation for Octave
sudo dnf install octave-dococtave 11.3.0-1
A high-level language, primarily intended for numerical computations
https://www.gnu.org/software/octave/
sudo pacman -S octave来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.