# 使用 Homebrew, apt, MacPorts, Nix 安装 yacas

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

## 安装

```sh
sudo av install brew:yacas
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install yacas
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yacas
```

  证据: MacPorts ports tree: math/yacas/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install yacas
```

  证据: Debian stable package indexes: yacas from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#yacas
```

  证据: nixpkgs package indexes: pkgs/by-name/ya/yacas/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:yacas
- **软件包管理器:** Homebrew
- **版本:** 1.9.1
- **来源摘要:** General purpose computer algebra system
- **主页:** <https://www.yacas.org/>
- **仓库:** <https://github.com/grzegorzmazur/yacas>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- yacas (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.9.1
## 项目历史与用法

Yacas, short for Yet Another Computer Algebra System, is a small open-source CAS with a C++ core, its own scripting language, arbitrary-precision arithmetic, and a library of symbolic-manipulation scripts. Its package-manager role is a compact command-line symbolic math environment rather than a giant notebook system.

### 项目历史

Yacas was started by Ayal Pinkus in the late 1990s, before Maxima and Axiom had become widely available as open-source systems. A 2007 Yacas project post describes that early period as a time when Yacas was one of the few open-source CAS options.

A 2002 paper by Ayal Z. Pinkus and Serge Winitzki presents Yacas as a do-it-yourself symbolic algebra environment: a small core interpreter plus script libraries that implement symbolic algebra functionality. That architecture remains visible in the current README, which emphasizes that users can write their own symbolic algorithms in the Yacas language.

The project later moved into a GitHub-hosted codebase and modern documentation maintained by Grzegorz Mazur and others. The Read the Docs site credits Ayal Pinkus, Serge Winnitzky, and Grzegorz Mazur for the documentation lineage, and the project site lists releases through the 1.9.x era.

### 采用历史

Yacas never became the dominant open-source CAS, but it persisted because it is small, scriptable, and easy to package. It has appeared in Unix package managers, had Java-related offshoots, and became especially visible to R users through Ryacas, an R interface to the Yacas computer algebra system.

Its adoption pattern is educational and embedded: users install yacas for interactive symbolic calculation, batch scripts, exact arithmetic, and experiments with symbolic algorithms, while downstream packages use it as a local CAS process or library-like backend.

### 使用方式

Typical command-line use is interactive symbolic manipulation: simplifying expressions, differentiating, integrating, solving equations, matrix work, exact arithmetic, and running Yacas scripts. The official site stresses plain symbolic math and extensive documentation of the scripting language and algorithms.

For package users, the attraction is that yacas is lightweight and local. It is useful in teaching, shell-driven math exploration, and as a backend for language integrations such as Ryacas where a full commercial or heavyweight CAS would be too much.

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

Yacas is package archaeology with real utility: a small CAS from the first wave of open-source symbolic algebra tooling that still fits naturally into Unix package managers. It packages a language, an interpreter, documentation, and an algorithm library in one modest command-line tool.

Its history also shows a different CAS model from Mathematica-style notebooks: keep the kernel small, put symbolic behavior in scripts, and let advanced users extend the algebra system from inside the packaged language.

### 时间线

- 1998: Ayal Pinkus later describes starting Yacas in this early open-source CAS period.
- 1999: Public summaries commonly identify Yacas as released or under active development by this year.
- 2002: Pinkus and Winitzki publish "YACAS: A Do-It-Yourself Symbolic Algebra Environment".
- 2008-2009: The Java version of Yacas is adopted/forked in the MathPiper/MathPiperIDE lineage.
- 2010s: Documentation and maintenance move through the modern yacas.org, Read the Docs, and GitHub project surfaces.
- 2020: The GitHub project lists yacas 1.9.1 as a July 2020 release.

### Related projects

- Ryacas is an R interface to the Yacas computer algebra system and one of the most visible downstream integrations.
- MathPiper/MathPiperIDE is related through the Java Yacas fork lineage.
- Maxima, Axiom, SymPy, GiNaC, and commercial CAS systems are neighboring symbolic math projects with different size and integration tradeoffs.

### 来源

- <https://github.com/grzegorzmazur/yacas>
- <https://github.com/r-cas/ryacas>
- <https://grzegorzmazur.github.io/ryacas/>
- <https://link.springer.com/chapter/10.1007/3-540-45470-5_29>
- <https://www.yacas.org/>
- <https://www.yacas.org/big_changes_ahead/>
- <https://yacas.readthedocs.io/en/latest/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - yacas - 1.9.1+dfsg-1: normalized package name match | Debian stable package indexes: yacas from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Computer Algebra System | http://www.yacas.org
- Debian apt - yacas-doc - 1.9.1+dfsg-1: normalized package name match | Debian stable package indexes: yacas-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation for Yacas | http://www.yacas.org
- Nix - yacas: normalized package name match | nixpkgs package indexes: pkgs/by-name/ya/yacas/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - yacas - 1.3.6-2.3: normalized package name match | Ubuntu 24.04 LTS package indexes: yacas from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Computer Algebra System | http://yacas.sourceforge.net
- Ubuntu apt - yacas-doc - 1.3.6-2.3: normalized package name match | Ubuntu 24.04 LTS package indexes: yacas-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation for Yacas | http://yacas.sourceforge.net
- MacPorts - yacas: normalized package name match | MacPorts ports tree: math/yacas/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/yacas.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yacas.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
