How To Install Gperf On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Gperf On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

gperf

Perfect hash function generator

Maintainer: Hilko Bengen



Section: devel

Install gperf

  • Debian apt-get install gperf Click to copy
  • Ubuntu apt-get install gperf Click to copy
  • Alpine OS apk add gperf Click to copy
  • Arch Linux pacman -S gperf Click to copy
  • Kali Linux apt-get install gperf Click to copy
  • CentOS yum install gperf Click to copy
  • Fedora dnf install gperf Click to copy
  • Raspbian apt-get install gperf Click to copy
  • macOS brew install gperf Click to copy

gperf

Perfect hash function generator

gperf is a program that generates perfect hash functions for sets of key words. A perfect hash function is simply: A hash function and a data structure that allows recognition of a key word in a set of words using exactly 1 probe into the data structure.

To install the latest version of gperf in your favorite operating system just copy the gperf installation command from above and paste it into terminal. It will download and install the latest version of gperf 2026 package in your OS.