nmtui command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nmtui: command not found
or when using sudo you get the following error message
sudo: nmtui: command not found
Solutions to nmtui: command not found
How To Fix nmtui: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nmtui is provided by network-manager package.
network-manager is:
NetworkManager is a system network service that manages your network devices and connections, attempting to keep active network connectivity when available. It manages ethernet, Wi-Fi, mobile broadband (WWAN), and PPPoE devices, and provides VPN integration with a variety of different VPN services.
This package provides the userspace daemons and a command line interface to interact with NetworkManager.
Optional dependencies:
- avahi-autoipd: Used for IPv4LL, a protocol for automatic Link-Local IP address configuration.
- ppp: Required for establishing dial-up connections (e.g. via GSM).
- dnsmasq-base/iptables: Required for creating Ad-hoc connections and connection sharing.
- libteam-utils: Network Team driver allows multiple network interfaces to be teamed together and act like a single one. This process is called “ethernet bonding”, “channel teaming” or “link aggregation”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install network-manager
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install network-manager.
sudo apt -y install network-manager
Or if you have aptitude installed you can use the following command.
sudo aptitude install network-manager
Summary
In this tutorial we learn how to fix nmtui command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.