apktool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apktool: command not found
or when using sudo you get the following error message
sudo: apktool: command not found
Solutions to apktool: command not found
How To Fix apktool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apktool is provided by apktool package.
apktool is:
A tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with an app easier because of project-like file structure and automation of some repetitive tasks like building apk.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apktool
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apktool.
sudo apt -y install apktool
Or if you have aptitude installed you can use the following command.
sudo aptitude install apktool
Summary
In this tutorial we learn how to fix apktool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.