How to get location of an IP address

In this tutorial, I will show you  how to get location of IP address from the command line in Linux. 1st method To install geoiplookup on Debian, Ubuntu or Linux Mint:

To install geoiplookup on Fedora:

To install