macOS
brew install flexlocal Homebrew formula metadata
sudo port install flexMacPorts ports tree · devel/flex/Portfile · Source: api.github.com
brew / rang 839
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de flex pour les workflows d'agents IA.
installation
brew install flexlocal Homebrew formula metadata
sudo port install flexMacPorts ports tree · devel/flex/Portfile · Source: api.github.com
sudo apk add flexAlpine Linux edge package indexes · flex · Source: dl-cdn.alpinelinux.org
sudo apt install flexDebian stable package indexes · flex · Source: deb.debian.org
sudo dnf install flexFedora Rawhide package metadata · flex · Source: dl.fedoraproject.org
nix profile install nixpkgs#flexnixpkgs package indexes · flex · Source: raw.githubusercontent.com
sudo pacman -S flexArch Linux sync databases · flex · Source: geo.mirror.pkgbuild.com
sudo zypper install flexopenSUSE Tumbleweed package metadata · flex · Source: download.opensuse.org
aperçu
Fast Lexical Analyzer, generates Scanners (tokenizers)
historique
flex is the fast lexical analyzer generator, the long-running free-software successor in the lex family. It generates scanners for recognizing lexical patterns in text and remains a foundational build-time package for C, C++, parser, compiler, and language-tooling stacks.
The upstream README describes flex as a tool for generating scanners and notes that the code derives from software contributed to Berkeley by Vern Paxson. Its distribution includes user documentation, examples, tests, internationalization files, and libfl support.
The project moved its main codebase, issue tracking, pull requests, and source releases to GitHub during the 2.6.1 release cycle in 2016, after earlier SourceForge-era mailing-list infrastructure. The 2.6.x NEWS entries record modernization work around generated scanners, portability, cross compilation, tests, build tooling, and release artifacts.
flex is a standard dependency in Unix-like development environments because many source packages generate or ship scanners built from `.l` files. The supplied package metadata records availability across apk, Homebrew, Debian, Fedora, MacPorts, Nix, pacman, Ubuntu, and zypper, reflecting its role as a baseline developer tool rather than a niche application.
Users write lexical rules and run flex to generate C or C++ scanner code. The generated scanner is then compiled into a program, commonly alongside parser generators and build systems for compilers, interpreters, protocol tools, data importers, and other text-processing software.
Package maintainers care about whether a release tarball includes generated intermediate files, which flex version built the distributed scanner, and whether cross-compilation and bootstrap paths work. The official NEWS repeatedly calls out these build and portability concerns.
flex is one of the canonical examples of a package that is both a user-facing command and a build dependency. It shows up in dependency graphs far from compiler projects because scanner generation is a common prebuild step, and its own bootstrap story matters to source-based distributions.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
flex | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
flex++ | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
lex | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:flex |
|---|---|
| Version | 2.6.4 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://github.com/westes/flex |
| Dépôt | https://github.com/westes/flex |
| Dernière mise à jour | 2026-06-22T14:03:20-07:00 |
| Pulse | updated |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
flex 2.6.4-8.2+b4
fast lexical analyzer generator
https://github.com/westes/flex
sudo apt install flexflex-doc 2.6.4-8.2
Documentation for flex (a fast lexical analyzer generator)
https://github.com/westes/flex
sudo apt install flex-doclibfl-dev 2.6.4-8.2+b4
static library for flex (a fast lexical analyzer generator)
https://github.com/westes/flex
sudo apt install libfl-devlibfl2 2.6.4-8.2+b4
SHARED library for flex (a fast lexical analyzer generator)
https://github.com/westes/flex
sudo apt install libfl2flex
nix profile install nixpkgs#flexflex 2.6.4-8.2build1
fast lexical analyzer generator
https://github.com/westes/flex
sudo apt install flexflex-doc 2.6.4-8.2build1
Documentation for flex (a fast lexical analyzer generator)
https://github.com/westes/flex
sudo apt install flex-doclibfl-dev 2.6.4-8.2build1
static library for flex (a fast lexical analyzer generator)
https://github.com/westes/flex
sudo apt install libfl-devlibfl2 2.6.4-8.2build1
SHARED library for flex (a fast lexical analyzer generator)
https://github.com/westes/flex
sudo apt install libfl2flex 2.6.4-r8
A tool for generating text-scanning programs
https://github.com/westes/flex
sudo apk add flexflex-dev 2.6.4-r8
A tool for generating text-scanning programs (development files)
https://github.com/westes/flex
sudo apk add flex-devflex-doc 2.6.4-r8
A tool for generating text-scanning programs (documentation)
https://github.com/westes/flex
sudo apk add flex-docflex-libs 2.6.4-r8
A tool for generating text-scanning programs (libraries)
https://github.com/westes/flex
sudo apk add flex-libsflex 2.6.4-25.fc45
A tool for generating scanners (text pattern recognizers)
https://github.com/westes/flex
sudo dnf install flexlibfl-devel 2.6.4-25.fc45
Development files for the flex scanner generator
https://github.com/westes/flex
sudo dnf install libfl-devellibfl-static 2.6.4-25.fc45
Static libraries for the flex scanner generator
https://github.com/westes/flex
sudo dnf install libfl-staticpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.