bgpq4 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bgpq4: command not found
or when using sudo you get the following error message
sudo: bgpq4: command not found
Solutions to bgpq4: command not found
How To Fix bgpq4: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bgpq4 is provided by bgpq4 package.
bgpq4 is:
bgpq4 eases BGP filter maintenance by automatically generating prefix lists, (extended) access lists, policy statement terms and AS-path lists using IRR routing data. It features IPv6 prefix-/access-list support, aggregation of generated filters and output compatible with Cisco, Juniper, Mikrotik, Nokia, OpenBGPD and BIRD.
It is a fork of bgpq3. By default, it uses IRR server from NTT.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bgpq4
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bgpq4.
sudo apt -y install bgpq4
Or if you have aptitude installed you can use the following command.
sudo aptitude install bgpq4
Summary
In this tutorial we learn how to fix bgpq4 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.