You need install this if the tool not working in your Distro
1. sudo apt-get install liblocal-lib-perl
2. apt-get install libjson-perl
3. Open Terminal
4. cd Desktop/
5. git clone https://github.com/jupiterdv/Tipraz-Ip-Locator.git
6. cd Tipraz-Ip-Locator
7. After that perl iplocator.pl
You can get the complete detailed of How to Install Tpz Ip Locator Tool for Kali Linux at The Codezine