Skip to content

Instantly share code, notes, and snippets.

@X-Gorn
Forked from bmaupin/install-apktool.sh
Last active June 18, 2024 16:24
Show Gist options
  • Save X-Gorn/e799e93f3fe884fcf1cf67f9d1c95e40 to your computer and use it in GitHub Desktop.
Save X-Gorn/e799e93f3fe884fcf1cf67f9d1c95e40 to your computer and use it in GitHub Desktop.
Install apktool in Linux
# ⚠ NOTE: if you're using the latest version of ubuntu, now you can just do:
# sudo apt install apktool
# Get latest version from https://bitbucket.org/iBotPeaches/apktool/downloads
export apktool_version=2.9.3
sudo -E sh -c 'wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_$apktool_version.jar -O /usr/local/bin/apktool.jar'
sudo chmod +r /usr/local/bin/apktool.jar
sudo sh -c 'wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O /usr/local/bin/apktool'
sudo chmod +x /usr/local/bin/apktool
# To use:
# apktool d TelephonyProvider.apk -o TelephonyProvider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment