How To Install Whereis On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
Install whereis
-
Debian
apt-get install util-linuxClick to copy -
Ubuntu
apt-get install util-linuxClick to copy -
Alpine OS
apk add util-linuxClick to copy -
Arch Linux
pacman -S util-linuxClick to copy -
Kali Linux
apt-get install util-linuxClick to copy -
CentOS
yum install util-linuxClick to copy -
Fedora
dnf install util-linuxClick to copy -
Raspbian
apt-get install util-linuxClick to copy -
macOS
brew install util-linuxClick to copy
Locate the binary, source, and manual page files for a command.
How to use whereis?
Below are few example commands for whereis that you can use in the terminal.
Locate binary, source and man pages for ssh:whereis sshClick to copyLocate binary and man pages for ls:whereis -bm lsClick to copyLocate source of gcc and man pages for git:whereis -s gcc -m gitClick to copyLocate binaries for gcc in /usr/bin/ only:whereis -b -B /usr/bin/ -f gccClick to copy
To install the latest version of whereis in your favorite operating system just copy the whereis installation command from above and paste it into terminal. It will download and install the latest version of whereis 2026 package in your OS.




