Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Last active August 17, 2024 01:55
Show Gist options
  • Save bmaupin/48140926ce11fbeddec2 to your computer and use it in GitHub Desktop.
Save bmaupin/48140926ce11fbeddec2 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.3.1
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
@omkarnathsingh
Copy link

Thanks.

@tvanhuu
Copy link

tvanhuu commented Feb 23, 2018

Thank bro share ^^ But That link has no power here.

@suculent
Copy link

suculent commented Mar 7, 2018

Works for me. Thanks.

@techq4
Copy link

techq4 commented Nov 8, 2018

thanks brother....

@TTKatrina
Copy link

TTKatrina commented Dec 6, 2018

Here https://ibotpeaches.github.io/Apktool/install/ we can find the newest apktool.jar.
Yes, it's just the same url https://bitbucket.org/iBotPeaches/apktool/downloads/

@je313
Copy link

je313 commented Jun 25, 2019

welcome انها اداة جيدة ولكن لو يتم تطويرها لأفضل من ذلك

@khanhduytran0
Copy link

Thanks. It even works on Linux Deploy!

@khelv
Copy link

khelv commented Jan 29, 2020

Thank you so much

@Aliendismaas
Copy link

thanky

@THe-CODIST-GAMER
Copy link

thanks bro

@jchang69
Copy link

thanks but when I run apktool, getting java error:

/usr/local/bin/apktool: line 77: exec: java: not found

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment