ifscheme-mapping command not found

In this troubleshooting guide we learn how to fix ifscheme-mapping command not found error message

Introduction

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

ifscheme-mapping: command not found

or when using sudo you get the following error message

sudo: ifscheme-mapping: command not found

Solutions to ifscheme-mapping: command not found

How To Fix ifscheme-mapping: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ifscheme-mapping is provided by ifscheme package.

ifscheme is:

ifscheme allows you to change network configuration schemes or query the current scheme. It integrates with the ifup(8) command and interfaces(5). For example, you might use this program to configure a “home” scheme and a “work” scheme for a network device on a laptop. When you move between home and work, a simple command can reconfigure your networking.

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

sudo apt-get -y install ifscheme

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

You can also use apt command to install ifscheme.

sudo apt -y install ifscheme

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

sudo aptitude install ifscheme

Summary

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