python3-petname command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
python3-petname: command not found
or when using sudo you get the following error message
sudo: python3-petname: command not found
Solutions to python3-petname: command not found
How To Fix python3-petname: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu python3-petname is provided by python3-petname package.
python3-petname is:
This package provides a library for generating “pet names”, consisting of a random combination of an adverb, adjective, and proper name. These are useful for unique hostnames, for instance. The default packaging contains about 2000 names, 1300 adjectives, and 4000 adverbs, yielding nearly 10 billion unique combinations, covering over 32 bits of unique namespace. As such, PetName tries to follow the tenets of Zooko’s triangle: names are human meaningful, decentralized, and secure.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-petname
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-petname.
sudo apt -y install python3-petname
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-petname
Summary
In this tutorial we learn how to fix python3-petname command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.