# Installer dex2jar avec Homebrew, chocolatey, MacPorts, Nix

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

## installation

```sh
sudo av install brew:dex2jar
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install dex2jar
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dex2jar
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dex2jar
```

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

### Windows

- Chocolatey (92%):

```sh
choco install dex2jar
```

  Preuve: Chocolatey community package catalog: dex2jar from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.151999','cports'

## Faits du paquet

- **Clé du paquet:** brew:dex2jar
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/dex2jar>
- **Version:** 2.4
- **Résumé source:** Tools to work with Android .dex and Java .class files
- **Page d'accueil:** <https://github.com/pxb1988/dex2jar>
- **Dépôt:** <https://github.com/pxb1988/dex2jar>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/pxb1988/dex2jar/releases/download/v2.4/dex-tools-v2.4.zip>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- d2j-apk-sign (cli)
- d2j-asm-verify (cli)
- d2j-baksmali (cli)
- d2j-class-version-switch (cli)
- d2j-decrypt-string (cli)
- d2j-dex-recompute-checksum (cli)
- d2j-dex-weaver (cli)
- d2j-dex2jar (cli)
- d2j-dex2smali (cli)
- d2j-jar-access (cli)
- d2j-jar-weaver (cli)
- d2j-jar2dex (cli)
- d2j-jar2jasmin (cli)
- d2j-jasmin2jar (cli)
- d2j-smali (cli)
- d2j-std-apk (cli)
- d2j_invoke (cli)
- d2j-apk-sign (alias)
- d2j-asm-verify (alias)
- d2j-baksmali (alias)
- d2j-class-version-switch (alias)
- d2j-decrypt-string (alias)
- d2j-dex-recompute-checksum (alias)
- d2j-dex-weaver (alias)
- d2j-dex2jar (alias)
- d2j-dex2smali (alias)
- d2j-jar-access (alias)
- d2j-jar-weaver (alias)
- d2j-jar2dex (alias)
- d2j-jar2jasmin (alias)
- d2j-jasmin2jar (alias)
- d2j-smali (alias)
- d2j-std-apk (alias)
- d2j_invoke (alias)

## Dépendances

- openjdk

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.4
- données locales: OK
- dépôt amont: https://github.com/pxb1988/dex2jar
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

dex2jar is a command-line toolkit for working with Android Dalvik Executable files and Java class or jar files. Package users usually encounter it through d2j-dex2jar and the companion d2j-* utilities.

### Historique du projet

The official README describes dex2jar as tools for Android .dex and Java .class files and notes the project move to GitHub. It preserves links to older SourceForge, Bitbucket, and Google Code project homes, which reflects the common migration path of early Android reverse-engineering tools into GitHub-era maintenance.

The current repository organizes the project as multiple tools: dex-reader/writer, d2j-dex2jar, smali/baksmali-compatible assembly and disassembly, and additional utilities such as string decryption helpers.

### Historique d'adoption

dex2jar became a familiar package in Android reverse-engineering and security-analysis workflows because it bridged Android .dex bytecode and Java tooling. Even when users later inspect output with decompilers or bytecode tools, the package often provides the first conversion step from an APK or dex file to a jar-shaped artifact.

### Modes d'utilisation

The README's example workflow builds the distribution, unpacks dex-tools, and runs d2j-dex2jar.sh against an APK path. The output is a jar file named after the input, such as apk_to_decompile-dex2jar.jar.

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

dex2jar is notable as a package because it installs a family of narrowly named command-line tools rather than a single binary. That makes it a classic reverse-engineering formula: many small entry points, stable scripts, and a README that doubles as the packaging-facing interface.

### Chronologie

- Early project era: README records historical homes on Google Code, SourceForge, and Bitbucket.
- GitHub era: README marks the project move to GitHub.
- 2023-10-03: GitHub release v2.4 was published.

### Related projects

- smali/baksmali is directly related because dex2jar includes compatible assembly and disassembly tools.
- Java bytecode and Android APK analysis tools are downstream or adjacent consumers of dex2jar output.

### Sources

- <https://github.com/pxb1988/dex2jar>
- <https://github.com/pxb1988/dex2jar/releases/tag/v2.4>


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dex2jar
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Nix - dex2jar: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/dex2jar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - dex2jar: normalized package name match | MacPorts ports tree: java/dex2jar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - dex2jar: normalized package name match | Chocolatey community package catalog: dex2jar from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.151999','cports'


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openjdk](https://pkg.so/fr/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [fernflower](https://pkg.so/fr/brew/fernflower/) - Shares pkgdb curated category or tags: bytecode, cli, developer-tools, java, reverse-engineering.
- [redex](https://pkg.so/fr/brew/redex/) - Shares pkgdb curated category or tags: android, bytecode, cli, developer-tools.
- [adb-enhanced](https://pkg.so/fr/brew/adb-enhanced/) - Shares pkgdb curated category or tags: android, cli, developer-tools.
- [cfr-decompiler](https://pkg.so/fr/brew/cfr-decompiler/) - Shares pkgdb curated category or tags: bytecode, cli, developer-tools, java, reverse-engineering.
- [payload-dumper-go](https://pkg.so/fr/brew/payload-dumper-go/) - Shares pkgdb curated category or tags: android, cli, developer-tools.
- [fdroidserver](https://pkg.so/fr/brew/fdroidserver/) - Shares pkgdb curated category or tags: android, cli, developer-tools.
- [simg2img](https://pkg.so/fr/brew/simg2img/) - Shares pkgdb curated category or tags: android, cli, developer-tools.
- [pidcat](https://pkg.so/fr/brew/pidcat/) - Shares pkgdb curated category or tags: android, cli, developer-tools.
- [procyon-decompiler](https://pkg.so/fr/brew/procyon-decompiler/) - Both packages touch the same language runtime or ecosystem. Shared terms: bytecode, cli, developer, developer-tools, engineering.
- [bundletool](https://pkg.so/fr/brew/bundletool/) - Both packages touch the same language runtime or ecosystem. Shared terms: android, apk, cli, developer, developer-tools.

## Combined YAML source

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


## Sources

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