# 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
- **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>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

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

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.4
## 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

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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
