Skip to content

Instantly share code, notes, and snippets.

@chiehmin
Created May 18, 2016 06:51
Show Gist options
  • Save chiehmin/ddd954e8993b2492a0818b3b7b956970 to your computer and use it in GitHub Desktop.
Save chiehmin/ddd954e8993b2492a0818b3b7b956970 to your computer and use it in GitHub Desktop.
apktool, dex2jar, jd-gui installation script
# Installing apktool
mkdir -p ~/.local/bin
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.1.1.jar -O ~/.local/bin/apktool.jar
wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O ~/.local/bin/apktool
chmod a+x ~/.local/bin/apktool
# Installing dex2jar
wget https://github.com/pxb1988/dex2jar/releases/download/2.1-nightly-26/dex-tools-2.1-20150601.060031-26.zip -O ~/.local/bin/dex2jar.zip
unzip ~/.local/bin/dex2jar.zip -d ~/.local/bin/
mv ~/.local/bin/dex2jar-2.1-SNAPSHOT/* ~/.local/bin/
rm ~/.local/bin/dex2jar.zip
rmdir ~/.local/bin/dex2jar-2.1-SNAPSHOT/
# Installing jd-gui
wget https://github.com/java-decompiler/jd-gui/releases/download/v1.4.0/jd-gui-1.4.0-0.noarch.rpm -P ~/Downloads
sudo dnf install -y ~/Downloads/jd-gui-1.4.0-0.noarch.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment