macchanger command not found

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

Introduction

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

macchanger: command not found

or when using sudo you get the following error message

sudo: macchanger: command not found

Solutions to macchanger: command not found

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

In Ubuntu macchanger is provided by macchanger package.

macchanger is:

GNU MAC Changer is an utility that makes the maniputation of MAC addresses of network interfaces easier. MAC addresses are unique identifiers on networks, they only need to be unique, they can be changed on most network hardware. MAC addresses have started to be abused by unscrupulous marketing firms, government agencies, and others to provide an easy way to track a computer across multiple networks. By changing the MAC address regularly, this kind of tracking can be thwarted, or at least made a lot more difficult.

Features:

  • set specific MAC address of a network interface
  • set the MAC randomly
  • set a MAC of another vendor
  • set another MAC of the same vendor
  • set a MAC of the same kind (eg: wireless card)
  • display a vendor MAC list (today, 6200 items) to choose from

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

sudo apt-get -y install macchanger

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

You can also use apt command to install macchanger.

sudo apt -y install macchanger

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

sudo aptitude install macchanger

Summary

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