switchconf command not found

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

Introduction

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

switchconf: command not found

or when using sudo you get the following error message

sudo: switchconf: command not found

Solutions to switchconf: command not found

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

In Ubuntu switchconf is provided by switchconf package.

switchconf is:

Switchconf allows users to easily change their system’s settings, choosing between the possible configurations for different environments.

Most switchconf users are laptop owners who want to change their network settings according to where they currently are - but there are many cases for non mobile systems to desire to choose between configuration sets.

Switchconf is a very simple script that takes its arguments from the command line. It allows you to maintain different sets of configurations, installing the desired set of configuration when called with its name as an argument, and execute a pre-specified set of commands before and after the switch.

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

sudo apt-get -y install switchconf

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

You can also use apt command to install switchconf.

sudo apt -y install switchconf

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

sudo aptitude install switchconf

Summary

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