# dex2jar mit Homebrew, chocolatey, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dex2jar in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install dex2jar
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dex2jar
```

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:dex2jar
- **Paketmanager:** Homebrew
- **Version:** 2.4
- **Quellzusammenfassung:** Tools to work with Android .dex and Java .class files
- **Homepage:** <https://github.com/pxb1988/dex2jar>
- **Repository:** <https://github.com/pxb1988/dex2jar>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

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

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.4
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Andere Paketmanager-Einträge

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


## Quellen

- 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
