How to install and use PhoneInfoga on Kali Linux

Updated

Kali Linux has no PhoneInfoga package, so sudo apt install phoneinfoga cannot work. You have to install the official v2.11.0 release from GitHub. On a 64-bit PC, the install script fetches it for you. On a Raspberry Pi, or in a Kali VM on an Apple Silicon Mac, you pick one of the three ARM archives yourself. Once the binary is copied to your PATH, phoneinfoga scan -n "+1 201-555-0123" runs your first scan. Version 2.11.0 came out on February 21, 2024, and since January 2026 the README has called the project stable but unmaintained. If you only need a report on one number, our independent online version needs no install.

Terminal with the commands that install PhoneInfoga on Kali Linux and run a first scan

Can you install PhoneInfoga with apt on Kali?

No. When we searched Kali's package tracker, the answer was Package phoneinfoga does not exist. Kali's tool list and Debian, which Kali is based on, have no PhoneInfoga either. On a current Kali, sudo apt install phoneinfoga should stop with Error: Unable to locate package phoneinfoga, while apt-get and older versions of apt print E: Unable to locate package phoneinfoga.

Kali Linux Package Tracker search page with the message Package phoneinfoga does not exist.
Searching for phoneinfoga in Kali's package tracker on November 24, 2026.

A request to add the tool to Kali, bug 6476, is still open, with no update since it was filed on June 17, 2020. The official release is a set of .tar.gz archives on GitHub, with no .deb package. Each route below installs the same v2.11.0:

RouteUse it onSteps
Official install scriptKali on a 64-bit PC or in a VM on a PCInstall with the official script
Release archiveARM Kali (Raspberry Pi, VM on an Apple Silicon Mac) and 32-bit PCsDownload the right archive
Docker image64-bit PCs only, not ARMRun the official Docker image
HomebrewKali with Homebrew (deprecated formula)Not covered here

On Windows or Ubuntu, follow our guide to install PhoneInfoga on Windows or on Ubuntu instead.

To find your route, open a terminal and ask Kali for its processor type:

uname -m

If the command prints x86_64, you have a 64-bit PC and can carry on with the next section. If it prints anything else, such as aarch64, armv7l or i686, go to the ARM section.

We checked this guide on November 24, 2026, against the v2.11.0 code and release page on GitHub and against Kali's documentation, without running it on a Kali machine. The sentence before each output block names its source. On a Kali set to another language, apt, command-not-found and the shell may print some messages in that language.

Install PhoneInfoga on Kali Linux with the official script

  1. Check that uname -m prints x86_64. If it does not, follow the ARM section.
  2. Create a new, empty folder and open it.
  3. Run the official install script there, without sudo: it does not need root access.
  4. Copy the binary with sudo install.
  5. Check it with phoneinfoga version.

These lines do steps 2 and 3:

mkdir -p ~/phoneinfoga-install
cd ~/phoneinfoga-install
bash <( curl -sSL https://raw.githubusercontent.com/sundowndev/phoneinfoga/master/support/scripts/install )

The official script prints these lines when the checksum matches. We ran it offline, so curl's progress bars are missing:

Downloading PhoneInfoga Version v2.11.0 for Linux_x86_64
Validating checksum ...
phoneinfoga_Linux_x86_64.tar.gz: OK
Cleaning up ...

Installation completed successfully.
To check the version installed: ./phoneinfoga version

Add it to your path by running
'sudo mv ./phoneinfoga /usr/local/bin/phoneinfoga'

The script suggests sudo mv, but the official documentation uses sudo install, which also makes the binary executable:

sudo install ./phoneinfoga /usr/local/bin/phoneinfoga
phoneinfoga version

Because Kali puts /usr/local/bin on every user's PATH, phoneinfoga should now work from any folder. Going by the release build settings, the version check should print PhoneInfoga 2.11.0-5f6156f.

If the script stops

Before you try again, delete what the failed run left, or curl resumes the damaged download instead of starting over:

cd ~/phoneinfoga-install
rm -f phoneinfoga_*.tar.gz phoneinfoga_checksums.txt

A failed run shows one of these messages:

  • phoneinfoga_Linux_x86_64.tar.gz: FAILED and sha256sum: WARNING: 1 computed checksum did NOT match: the archive is damaged or incomplete.
  • Downloading PhoneInfoga Version for Linux_x86_64, with no version number, then a checksum failure: GitHub's API refused the request, as it does after 60 requests in an hour. Wait up to an hour, or download the x86_64 archive by hand (ARM section).
  • tar: phoneinfoga: Cannot open: File exists: the current folder already holds a folder named phoneinfoga, such as a git clone. Use a new, empty folder.
  • tar: ./phoneinfoga_Linux_x86_64.tar.gz: Not found in archive, or the same with another archive's path: a second phoneinfoga_*.tar.gz file sits in the current folder or a subfolder. An empty folder fixes this too.
  • bash: /proc/self/fd/13: No such file or directory, with any number after fd/: sudo was typed in front of bash, as a Kali 2023.4 user did in GitHub issue #1388. Run the command without sudo.

How to run PhoneInfoga in Kali Linux: your first scan

The scan command takes the number after -n, with its country code first. Put it in quotes when it contains spaces:

phoneinfoga scan -n "+1 201-555-0123"

Run offline, the v2.11.0 code prints 102 lines for this fictional 555-01xx number. We cut the output below down to one of the 45 search links:

Running scan for phone number +1 201-555-0123...

Results for googlesearch
Social media:
	URL: https://www.google.com/search?q=site%3Afacebook.com+intext%3A%2212015550123%22+%7C+intext%3A%22%2B12015550123%22+%7C+intext%3A%222015550123%22

Results for local
Raw local: 2015550123
Local: (201) 555-0123
E164: +12015550123
International: 12015550123
Country: US

2 scanner(s) succeeded

The 45 links under Results for googlesearch are Google searches that PhoneInfoga writes for you. It never contacts Google itself, and nothing is searched until you open a link. The local block comes from offline numbering data.

The last line counts scanners, not links. It says 2 because the other three were skipped without a message. The numverify and googlecse scanners need API keys, and ovh only runs for numbers from France, Belgium, the United Kingdom, Spain and Switzerland. Even in those five countries, the v2.11.0 ovh scanner can only match French and Swiss numbers. A Belgian or UK number always gets Found: false, and a Spanish one ends with an ovh error, since the OVH API no longer accepts Spain.

To see why each scanner was skipped, put LOG_LEVEL=debug in front of the command, with -D googlesearch to hide the links:

LOG_LEVEL=debug phoneinfoga scan -n "+1 201-555-0123" -D googlesearch

The scan removes spaces, parentheses, dots and hyphens, and the + is optional, but it cannot guess a missing country code:

What you typeWhat happens
-n "+1 201-555-0123" or -n 12015550123Both work and give the same result.
-n +1 201-555-0123, without quotesError: unknown command "201-555-0123" for "phoneinfoga scan"
-n 2015550123, without the country codeNo error, but the number is read as Egyptian, with Country: EG.
A national number that starts with 0invalid country code. Use the international format instead.
Letters, such as a placeholder written with xgiven phone number is not valid

What a scan cannot tell you

According to the project's README, PhoneInfoga does not claim that its data is relevant or verified. It cannot track a phone or its owner in real time, and it cannot hack a phone. It gives no precise location either: the country in the results is where the number range was assigned, not where the phone is.

Install on ARM: Raspberry Pi and Apple Silicon Macs

On ARM and on 32-bit PCs, the official script does not recognize the system. On 64-bit ARM, for example, it builds the name Linux_aarch64 from uname, but the archive is called Linux_arm64. It then prints Error: Linux_aarch64 is not supported, installation will attempt to proceed manually. and shows a menu.

The release binaries need no library from Kali, so the answer of uname -m alone decides which archive you need:

uname -m answerTypical Kali machineArchive
aarch64Raspberry Pi 3, 4, 400, 5 or 500 with Kali's 64-bit image, or Kali in a VM on an Apple Silicon Macphoneinfoga_Linux_arm64.tar.gz
armv7lRaspberry Pi 2, 3, 4 or 400 with Kali's 32-bit image, or a Raspberry Pi Zero 2 Wphoneinfoga_Linux_armv7.tar.gz
armv6lA board with an older ARMv6 processorphoneinfoga_Linux_armv6.tar.gz
i686A 32-bit PCphoneinfoga_Linux_i386.tar.gz

On a Raspberry Pi, Kali recommends its 32-bit image because it gets more testing. With that image, uname -m should print armv7l, even on a Pi 4 whose processor is 64-bit.

Download the right archive from GitHub by hand

Files of the PhoneInfoga v2.11.0 release on GitHub, with the checksums file and the five Linux archives framed
The files of the v2.11.0 release on GitHub. We framed the checksums file and the five Linux archives.

These steps repeat what the official script does. Work in a new, empty folder and start with the checksums file from the v2.11.0 release page on GitHub:

mkdir -p ~/phoneinfoga-install
cd ~/phoneinfoga-install
curl -fLO https://github.com/sundowndev/phoneinfoga/releases/download/v2.11.0/phoneinfoga_checksums.txt

Then run the block for your processor, which extracts the archive only if sha256sum prints OK. If it prints FAILED, run the block again. On aarch64, use the arm64 archive:

curl -fLO https://github.com/sundowndev/phoneinfoga/releases/download/v2.11.0/phoneinfoga_Linux_arm64.tar.gz
sha256sum --ignore-missing -c phoneinfoga_checksums.txt && tar -xzf phoneinfoga_Linux_arm64.tar.gz

On armv7l, use the armv7 archive:

curl -fLO https://github.com/sundowndev/phoneinfoga/releases/download/v2.11.0/phoneinfoga_Linux_armv7.tar.gz
sha256sum --ignore-missing -c phoneinfoga_checksums.txt && tar -xzf phoneinfoga_Linux_armv7.tar.gz

On armv6l, use the armv6 archive:

curl -fLO https://github.com/sundowndev/phoneinfoga/releases/download/v2.11.0/phoneinfoga_Linux_armv6.tar.gz
sha256sum --ignore-missing -c phoneinfoga_checksums.txt && tar -xzf phoneinfoga_Linux_armv6.tar.gz

On a 32-bit PC (i686), use the i386 archive:

curl -fLO https://github.com/sundowndev/phoneinfoga/releases/download/v2.11.0/phoneinfoga_Linux_i386.tar.gz
sha256sum --ignore-missing -c phoneinfoga_checksums.txt && tar -xzf phoneinfoga_Linux_i386.tar.gz

On a 64-bit PC where the script fails, use the x86_64 archive:

curl -fLO https://github.com/sundowndev/phoneinfoga/releases/download/v2.11.0/phoneinfoga_Linux_x86_64.tar.gz
sha256sum --ignore-missing -c phoneinfoga_checksums.txt && tar -xzf phoneinfoga_Linux_x86_64.tar.gz

Then copy the binary and check it:

sudo install ./phoneinfoga /usr/local/bin/phoneinfoga
phoneinfoga version

From here, everything works as on a PC, starting with your first scan.

Use the script's menu instead

The script's menu also works on ARM if jq is installed and you start the script with the bash form below. At its prompt, type 3 for aarch64, 4 for armv6l, 5 for armv7l or 6 for i686. Piped into bash, as some tutorials show, the script cannot read your answer and exits.

sudo apt update
sudo apt install jq
mkdir -p ~/phoneinfoga-install
cd ~/phoneinfoga-install
rm -f phoneinfoga_*.tar.gz phoneinfoga_checksums.txt
bash <( curl -sSL https://raw.githubusercontent.com/sundowndev/phoneinfoga/master/support/scripts/install )

Without jq, as in issue #1028, the list stays empty and the run ends with sha256sum: phoneinfoga_checksums.txt: no file was verified. After Installation completed successfully., copy the binary with the sudo install line above and scan a number.

An “exec format error” means the wrong archive

A binary for another processor passes the checksum but cannot run, even after chmod +x: zsh prints zsh: exec format error: ./phoneinfoga and bash prints bash: ./phoneinfoga: cannot execute binary file: Exec format error. A Kali user on a Raspberry Pi 400 got both with the arm64 archive (issue #1404), without saying which Kali image the Pi ran. Run uname -m again, run the block of the matching archive above, then copy it again with sudo install.

For Kali NetHunter on a phone, we found one report (issue #1059): the maintainer suggested the armv6 archive, and the user said it solved the problem. On an Android phone without Kali, follow our Termux guide. If no archive runs on your phone or board, scan the number with our web version of PhoneInfoga instead.

Fix PhoneInfoga “command not found” and “permission denied” errors on Kali

Kali's default shell is zsh, so most messages below start with zsh:.

MessageCauseFix
phoneinfoga: command not found or zsh: command not found: phoneinfogaNo PhoneInfoga binary is in a PATH folder. A git clone or a Python tutorial does not install one.From the folder that holds the binary, run sudo install ./phoneinfoga /usr/local/bin/phoneinfoga. With no binary yet, install the release first.
zsh: permission denied: ./phoneinfogaThe file is not executable.Run chmod +x ./phoneinfoga, or copy it with sudo install ./phoneinfoga /usr/local/bin/phoneinfoga.
zsh: permission denied: phoneinfogaA file or folder named phoneinfoga in a PATH folder cannot run, for example a git clone moved to /usr/bin.Run ls -ld /usr/local/bin/phoneinfoga /usr/bin/phoneinfoga. If a line starts with d, that path is a folder, not the binary: delete it, for example with sudo rm -r /usr/bin/phoneinfoga, then copy the binary. If a line starts with -rw-, make that file executable with sudo chmod +x and its path.
install: omitting directory './phoneinfoga'./phoneinfoga is a folder, such as a git clone.Run the copy in the folder where you extracted the release.
mv: cannot move './phoneinfoga' to '/usr/bin/phoneinfoga': Permission deniedmv ran without sudo.Use sudo install ./phoneinfoga /usr/local/bin/phoneinfoga.
zsh: exec format error: ./phoneinfoga or zsh: exec format error: phoneinfogaThe archive is for another processor.Take the archive that matches uname -m (ARM section), then copy it again with sudo install.
phoneinfoga: phoneinfoga: cannot execute binary fileThe binary was run through bash, as in sudo bash phoneinfoga.Run ./phoneinfoga directly.

On a default Kali, the message in the first row most likely reads phoneinfoga: command not found, without zsh:, because Kali's command-not-found helper prints it. The helper may first print Could not find command-not-found database. Run 'sudo apt update' to populate it. You can ignore that line. Bash messages start with bash:, as in bash: ./phoneinfoga: Permission denied.

PhoneInfoga commands on Kali Linux

Version 2.11.0 has four commands. Run phoneinfoga alone to list them, along with help.

CommandWhat it does
phoneinfoga scan -n "+1 201-555-0123"Scans one number.
phoneinfoga scannersLists the five scanners.
phoneinfoga serveStarts the web interface and the REST API on port 5000.
phoneinfoga versionPrints the version. There is no --version option.

Each command has its own help:

phoneinfoga scan --help

For scan, the v2.11.0 code prints:

Scan a phone number

Usage:
  phoneinfoga scan [flags]

Flags:
  -D, --disable stringArray   Scanner to skip for this scan
      --env-file strings      Env files to parse environment variables from (looks for .env by default)
  -h, --help                  help for scan
  -n, --number string         The phone number to scan (E164 or international format)
      --plugin stringArray    Extra scanner plugin to use for the scan

Each -D skips one scanner. A list such as -D googlesearch,ovh skips nothing, and a misspelled name is ignored without a message. For the exact names, run phoneinfoga scanners. The v2.11.0 code prints:

local
Gather offline info about a given phone number.

numverify
Request info about a given phone number through the Numverify API.

googlesearch
Generate several Google dork requests for a given phone number.

ovh
Search a phone number through the OVH Telecom REST API.

googlecse
Googlecse searches for footprints of a given phone number on the web using Google Custom Search Engine.

The first line below leaves only the local block and 1 scanner(s) succeeded for the example number, and the second also skips ovh:

phoneinfoga scan -n "+1 201-555-0123" -D googlesearch
phoneinfoga scan -n "+1 201-555-0123" -D googlesearch -D ovh

No option writes the results to a file, but tee shows them and saves a copy without colors:

phoneinfoga scan -n "+1 201-555-0123" | tee scan.txt

Options that v2.11.0 does not have

Many tutorials still show options of the Python version 1, such as -i, -o, -s, --recon and --osint. Others invent the -r option or a phoneinfoga plugin list command. Version 2.11.0 should reject all of them, with errors such as Error: unknown shorthand flag: 'r' in -r or Error: unknown command "plugin" for "phoneinfoga".

For more examples, such as a scan of a whole list of numbers or a request to the REST API, see our PhoneInfoga commands tutorial.

Set the Numverify and Google keys in a .env file

If you start today, a Numverify key is the only one you can try. Google's Custom Search JSON API, which googlecse uses, no longer accepts new customers and ends on January 1, 2027.

The local, googlesearch and ovh scanners need no key. The other two read these variables, whose names are case-sensitive:

VariableScannerValue
NUMVERIFY_API_KEYnumverifyYour APILayer key for Numverify
GOOGLECSE_CXgooglecseThe ID of your Google search engine
GOOGLE_API_KEYgooglecseYour Google API key
GOOGLECSE_MAX_RESULTSgooglecseOptional: 10 results by default, 100 at most

Put the keys in a file named .env in the folder you run phoneinfoga from, not next to the binary. In the next three blocks, type your own key in place of YOUR_KEY. The first line creates the file, or overwrites it:

echo 'NUMVERIFY_API_KEY=YOUR_KEY' > .env
phoneinfoga scan -n "+1 201-555-0123"

To set a key for one command only, write it in front of the command, with no spaces around =:

NUMVERIFY_API_KEY=YOUR_KEY phoneinfoga scan -n "+1 201-555-0123"

To keep it for the rest of the terminal session, export it:

export NUMVERIFY_API_KEY=YOUR_KEY
phoneinfoga scan -n "+1 201-555-0123"

The scanner page of the official documentation shows NUMVERIFY_API_KEY=<key>, which you cannot paste as it is: the shell reads < and > as redirections. Quotes around the value in .env make no difference, and --env-file=.env.local reads that file instead of .env.

A missing .env file or key gives no message, but LOG_LEVEL=debug keeps reporting API key is not defined until the key is read.

Which Numverify key to try

In v2.11.0, the numverify scanner calls https://api.apilayer.com/number_verification/validate, the old APILayer marketplace address. Users have reported that keys from numverify.com fail there with numverify: Invalid authentication credentials. One of them, a Kali user in January 2025, had a key that worked on the numverify.com address (issue #1458).

In 2022 and 2023, the maintainer recommended a key for the “Number Verification API” from an apilayer.com account instead. The buttons of its marketplace page, which the official documentation links, now lead to the sign-up of the APILayer Suite, and we have not tested such a key with v2.11.0. Numverify's free plan allows 100 requests a month.

If a scanner still does not run, see why PhoneInfoga is not working and how to fix it.

If you have no keys of your own, our online search works without them. It gets Google results through Serper, so the end of Google's Custom Search API changes nothing for it. Numbers are not written to our logs, but Numverify and Serper receive them. Results then stay in server memory for up to six hours.

Use the web interface with phoneinfoga serve

If you prefer a graphical interface to the terminal, the binary also contains a web interface and a REST API for the same scans. One command starts both:

phoneinfoga serve

It should print Listening on :5000. Then open http://localhost:5000 in a browser on that machine. A port number alone is ignored, as in phoneinfoga serve 8080. To change the port, use -p:

phoneinfoga serve -p 8080

The page has no field for API keys. A scanner without a key shows a red alert with the reason, such as API key is not defined. Set your keys in the environment or in the .env file of the folder where you start serve.

The phoneinfoga serve command listens on every network interface and asks for no password. Anyone who can reach that port on your machine can run scans with your API keys, so only start it on a network you trust.

With --no-client, only the REST API runs, under /api:

phoneinfoga serve --no-client

Run PhoneInfoga with Docker on a Kali PC

The official image only runs where uname -m prints x86_64, because every tag is built for linux/amd64. On 64-bit ARM, docker pull stops with no matching manifest for linux/arm64/v8 in the manifest list entries (issue #1236), so use the ARM section instead.

On a 64-bit PC, install Docker as Kali's documentation describes. The package is docker.io, because the package named docker is a different program:

sudo apt update
sudo apt install -y docker.io
sudo systemctl enable docker --now
sudo usermod -aG docker $USER

The last line lets you use docker without sudo after you log out and log in again. Without that step, a Kali user saw Got permission denied while trying to connect to the Docker daemon socket (issue #844).

Then pull the image and give the container a command, since without one it only prints the help. We wrote the scan lines from the image's settings and have not run them, and the last one passes the key with -e because the container cannot see your .env file:

docker pull sundowndev/phoneinfoga:latest
docker run --rm -it sundowndev/phoneinfoga version
docker run --rm -it sundowndev/phoneinfoga scan -n "+1 201-555-0123"
docker run --rm -it -e NUMVERIFY_API_KEY=YOUR_KEY sundowndev/phoneinfoga scan -n "+1 201-555-0123"

For the web interface, the first line below publishes port 5000 to your whole network. The second keeps it on your machine, in standard Docker syntax we have not tested with this image:

docker run --rm -it -p 5000:5000 sundowndev/phoneinfoga serve
docker run --rm -it -p 127.0.0.1:5000:5000 sundowndev/phoneinfoga serve

Why 2020 and 2022 PhoneInfoga tutorials fail

PhoneInfoga was a Python script up to v1.11, released on February 13, 2020. Version 2, a single Go program, replaced it in March 2020, and v2.11.0 contains no Python file.

Kali users who followed version 1 steps got ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' (issue #851) or python3: can't open file 'phoneinfoga.py': [Errno 2] No such file or directory (issue #248). Since Kali 2024.4, pip also refuses system-wide installs with error: externally-managed-environment.

Other tutorials clone third-party copies of version 1, such as abhinavkavuri/PhoneInfoga or la-deep-web/Phoneinfoga, which have not changed since 2019. A Kali user who ran an old phoneinfoga.py from /home/kali/Phoneinfoga got SyntaxError: expected 'except' or 'finally' block (issue #1452).

A tutorial probably describes version 1, or options that never existed, if it asks you to:

  • install requirements.txt with pip, or run phoneinfoga.py
  • put your keys in a config.py file
  • use version 1 options such as --recon, listed in the commands section
  • type Termux pkg commands on Kali

Advice to use a VPN or Anonsurf against Google bans also dates from version 1, which scraped Google. Version 2 never scrapes Google, so you need neither.

None of these steps is needed: install the release with the script or from the ARM section instead.

Update or uninstall PhoneInfoga

There is nothing newer to install: v2.11.0 is still the latest release, and the README warns that new bugs will not be fixed. If a newer release ever comes out, repeat your install steps, with the new version number in the addresses if you download by hand, and check the result with phoneinfoga version.

PhoneInfoga is a single file, and v2.11.0 writes no configuration or cache. These lines remove the copy in /usr/local/bin and the install folder:

sudo rm /usr/local/bin/phoneinfoga
rm -r ~/phoneinfoga-install

Also delete any .env file you created. For Docker, remove the image:

docker image rm sundowndev/phoneinfoga:latest

With Homebrew, brew uninstall phoneinfoga removes it. Homebrew plans to disable the deprecated formula on February 18, 2027.

Check a number without installing anything

This site is built on the same open-source code and supplies its own API keys. Type a number in the search box and the report appears a few seconds later.

Scan a number online