vtysh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
vtysh: command not found
or when using sudo you get the following error message
sudo: vtysh: command not found
Solutions to vtysh: command not found
How To Fix vtysh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu vtysh is provided by frr package.
frr is:
FRRouting implements the routing protocols commonly used in the internet and private networks to exchange information between routers. Both IP and IPv6 are supported, as are BGP, OSPFv2, OSPFv3, IS-IS, BABEL, EIGRP, RIP, RIPng, LDP, BFD, PIM, VRRP, PBR, and NHRP.
These protocols are used to turn your system into a dynamic router, exchanging information about available connections with other routers in a standards-compliant way. The actual packet forwarding functionality is provided by the OS kernel.
FRRouting is a fork of Quagga with an open community model. The main git lives on https://github.com/frrouting/frr.git and the project name is commonly abbreviated as “FRR.”
To fix this problem, we can install more using the command below.
sudo apt-get -y install frr
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install frr.
sudo apt -y install frr
Or if you have aptitude installed you can use the following command.
sudo aptitude install frr
Summary
In this tutorial we learn how to fix vtysh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.