Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix 安装 bastet

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bastet

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install bastet

MacPorts ports tree · games/bastet/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

概览

软件包摘要

Bastard Tetris

命令和别名

  • bastet

历史

项目历史与用法

Bastet is Federico Poloni's ncurses-based adversarial Tetris-like game for Linux. Its official page expands the name as Bastard Tetris and explains the core joke: instead of picking the next piece randomly, it chooses a piece intended to be as bad as possible for the player.

项目历史

Bastet's first public release was version 0.37, according to the official page. The algorithm notes say 0.37 used a hand-written analysis of the top border of the well and usually selected the worst-scoring piece while sometimes choosing among near-worst pieces to avoid boring repetition.

Version 0.41 replaced that heuristic with a scoring function over possible well states. Version 0.43 was a complete rewrite, no longer based on Petris, and used a search over legal block positions plus separate normal and harder algorithms depending on whether the next-piece preview was shown.

采用历史

The official page says Bastet was discussed on Slashdot in April 2005 and in the xkcd forum in 2010, both as part of its reputation as an intentionally unfair Tetris variant. It also states that Bastet is included in most distributions and gives apt, snap, yum, and dnf installation examples.

The supplied package facts show modern packaging in Homebrew, Debian, Fedora, MacPorts, Nix, and Ubuntu, which matches the official site's claim that distro package managers are the normal way to install it.

使用方式

The README describes a simple menu-driven ncurses game with configurable keys, defaults for movement/rotation/drop, pause, and control-C quit. The game has normal and harder block choosers; the harder mode removes the next-block preview.

The algorithm page documents the adversarial selection policy for 0.43: it evaluates legal placements and chooses the worst block most of the time, with smaller probabilities for the second-, third-, and fourth-worst blocks.

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

Bastet is package-nerd significant because it is a tiny terminal game that became widely packaged due to one memorable mechanic. It is the sort of ncurses oddity that makes Unix package catalogs feel like cultural archives as much as software indexes.

It also preserves a lineage of small C++ terminal games, distro-maintained builds, desktop metadata, and ports/patches for macOS and Windows/PDCurses.

时间线

  • Version 0.37: First public release, with the original top-border heuristic.
  • 2005-04: Official page records a Slashdot article about Bastet 0.41.
  • Version 0.41: New block-choosing algorithm based on scoring possible well states.
  • 2009: Version 0.43 is a complete rewrite and no longer based on Petris.
  • 2010: Official page records discussion in the xkcd forum.
  • 2014: Version 0.43.1 adds updates for package-manager convenience, including desktop and appdata files.
  • 2020-04-28: Official page states Bastet is old work with no new versions planned, but not abandoned.

Related projects

  • The official page says 0.43 was no longer based on Petris, implying earlier lineage from that project. It also notes Abandoned Bricks, an SDL Tetris clone with a Bastard mode based on Bastet.

安全态势

风险级别:绿色

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 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

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
~/.bastetrc

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.43.2
管理器更新时间2026-07-10
本地数据OK
上游当前
检测到的最新版本0.43.2

https://github.com/fph/bastet

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:bastet
版本0.43.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bastet
主页https://fph.altervista.org/prog/bastet.html
仓库https://github.com/fph/bastet
上游文档https://fph.altervista.org/prog/bastet.html
许可证GPL-3.0-or-later
源码归档https://github.com/fph/bastet/archive/refs/tags/0.43.2.tar.gz
最后更新2026-07-10T16:54:56-04:00
Pulseupdated
依赖boost
macOS 提供的库ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

bastet 0.43.2-2

ncurses Tetris clone with a bastard algorithm

http://fph.altervista.org/prog/bastet.shtml

sudo apt install bastet
  • Section: games
  • Architecture: amd64
  • 8 依赖
  • normalized package name match
  • 匹配方式:Bastet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bastet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bastet

nix profile install nixpkgs#bastet
  • normalized package name match
  • 匹配方式:Bastet
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bastet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bastet 0.43-7build1

ncurses Tetris clone with a bastard algorithm

http://fph.altervista.org/prog/bastet.shtml

sudo apt install bastet
  • Section: universe/games
  • Architecture: amd64
  • 8 依赖
  • normalized package name match
  • 匹配方式:Bastet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bastet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

bastet 0.43.2-15.fc44

An evil falling bricks game

https://github.com/fph/bastet

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

bastet

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

来源线索

由仓库数据生成

此页面由 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