graftcp command not found

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

Introduction

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

graftcp: command not found

or when using sudo you get the following error message

sudo: graftcp: command not found

Solutions to graftcp: command not found

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

In Ubuntu graftcp is provided by graftcp package.

graftcp is:

Graftcp can redirect the TCP connection made by the given program (application, script, shell, etc.) to SOCKS5 or HTTP proxy.

Graftcp can trace or modify any given program’s connect by ptrace(2), so it is workable for any program.

This package provides the graftcp program.

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

sudo apt-get -y install graftcp

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

You can also use apt command to install graftcp.

sudo apt -y install graftcp

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

sudo aptitude install graftcp

Summary

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