# Installer bastet avec Homebrew, apt, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de bastet pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:bastet
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install bastet
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bastet
```

  Preuve: MacPorts ports tree: games/bastet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install bastet
```

  Preuve: Debian stable package indexes: bastet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bastet
```

  Preuve: Fedora Rawhide package metadata: bastet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bastet
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ba/bastet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:bastet
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.43.2
- **Résumé source:** Bastard Tetris
- **Page d'accueil:** <https://fph.altervista.org/prog/bastet.html>
- **Dépôt:** <https://github.com/fph/bastet>
- **Dernière mise à jour:** 2026-07-10T16:54:56-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- bastet (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.43.2
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://fph.altervista.org/prog/bastet.html>
- <https://fph.altervista.org/prog/bastetalgo.html>
- <https://github.com/fph/bastet/blob/master/README>
- source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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

- Unix: ~/.bastetrc
## Autres enregistrements de gestionnaires de paquets

- Debian apt - bastet - 0.43.2-2: normalized package name match | Debian stable package indexes: bastet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ncurses Tetris clone with a bastard algorithm | http://fph.altervista.org/prog/bastet.shtml
- Nix - bastet: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bastet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bastet - 0.43-7build1: normalized package name match | Ubuntu 24.04 LTS package indexes: bastet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ncurses Tetris clone with a bastard algorithm | http://fph.altervista.org/prog/bastet.shtml
- dnf - bastet - 0.43.2-16.fc45: normalized package name match | Fedora Rawhide package metadata: bastet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An evil falling bricks game | https://github.com/fph/bastet
- MacPorts - bastet: normalized package name match | MacPorts ports tree: games/bastet/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/bastet.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bastet.yml)


## Sources

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