ipv6pref command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ipv6pref: command not found
or when using sudo you get the following error message
sudo: ipv6pref: command not found
Solutions to ipv6pref: command not found
How To Fix ipv6pref: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ipv6pref is provided by ipv6pref package.
ipv6pref is:
ipv6pref provides a utility that preloads a library and allows users to control the use of IPv6 privacy extensions.
For longrunning tasks it may be undesirable to use the periodically changing and random addresses; using the supplied utility, the kernel can be instructed whether to prefer the temporary addresses or stick to the static ones when opening sockets for a specific program.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ipv6pref
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ipv6pref.
sudo apt -y install ipv6pref
Or if you have aptitude installed you can use the following command.
sudo aptitude install ipv6pref
Summary
In this tutorial we learn how to fix ipv6pref command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.