execstack command not found

In this troubleshooting guide we learn how to fix execstack command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

execstack: command not found

or when using sudo you get the following error message

sudo: execstack: command not found

Solutions to execstack: command not found

How To Fix execstack: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu execstack is provided by execstack package.

execstack is:

The execstack package contains a utility which modifies (or adds) the GNU_STACK program header to ELF binaries, and allows changing the executable flag.

To fix this problem, we can install more using the command below.

sudo apt-get -y install execstack

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install execstack.

sudo apt -y install execstack

Or if you have aptitude installed you can use the following command.

sudo aptitude install execstack

Summary

In this tutorial we learn how to fix execstack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.