ipset-translate command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ipset-translate: command not found
or when using sudo you get the following error message
sudo: ipset-translate: command not found
Solutions to ipset-translate: command not found
How To Fix ipset-translate: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ipset-translate is provided by ipset package.
ipset is:
IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel which can be administered by the ipset(8) utility. Depending on the type, currently an IP set may store IP addresses, (TCP/UDP) port numbers or IP addresses with MAC addresses in a way which ensures lightning speed when matching an entry against a set.
If you want to
- store multiple IP addresses or port numbers and match against the entire collection using a single iptables rule.
- dynamically update iptables rules against IP addresses or ports without performance penalty.
- express complex IP address and ports based rulesets with a single iptables rule and benefit from the speed of IP sets.
then IP sets may be the proper tool for you.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ipset
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ipset.
sudo apt -y install ipset
Or if you have aptitude installed you can use the following command.
sudo aptitude install ipset
Summary
In this tutorial we learn how to fix ipset-translate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.