whois replacement in CentOS 8
whois replacement in CentOS 8
Hi, everyone!
Can anyone here tell me what is to be used in place of whois on CentOS 8? I can not find the package, or anything like it in the repositories (I also tried searching for 'jwhois', among other guesses).
A package for whois was included in CentOS 7, and is still available in Fedora 30.
Thank you!
Michela
Can anyone here tell me what is to be used in place of whois on CentOS 8? I can not find the package, or anything like it in the repositories (I also tried searching for 'jwhois', among other guesses).
A package for whois was included in CentOS 7, and is still available in Fedora 30.
Thank you!
Michela
-
- Posts: 10
- Joined: 2019/02/27 13:44:30
Re: whois replacement in CentOS 8
Try again, i just found the whois package:
And i only got the base repos and the epel repo for rhel/centos 8
Code: Select all
~# yum search whois
=========================================================================
whois.x86_64 : Improved WHOIS client
whois-nls.noarch : Gettext catalogs for whois tools
-
- Posts: 1
- Joined: 2019/11/12 06:02:36
Re: whois replacement in CentOS 8
Yep, this is in the epel repo for CentOS, which is not installed by default (that may be obvious but as someone who has little time spent in CentOS it was not to me).
To install, you can do the following:
I found the above information here: https://www.tecmint.com/install-epel-re ... on-centos/
The above article/guide contains more information about the EPEL Repository.
To install, you can do the following:
Code: Select all
# Install the epel-release repository
$ sudo dnf install epel-release
# Install the whois package
$ sudo dnf install whois
The above article/guide contains more information about the EPEL Repository.
Re: whois replacement in CentOS 8
now it can't be found even in epel repo!
for what reason it was removed and is there any valid repo for it?
for what reason it was removed and is there any valid repo for it?
Re: whois replacement in CentOS 8
It's removed from EPEL because they do not ship packages that are part of RHEL. RHEL 8.2 came out a few weeks ago and now includes whois as a base packages, part of the distro. EPEL then removed their copy as they cannot conflict. Until CentOS 8.2 comes out (it's in progress), you can't install whois. You can use google to search for the EPEL archive and download a copy of the package from there and install it using yum that way.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: whois replacement in CentOS 8
TrevorH, thanks for the explanation, it was good to know. However the situation itself is funny
Re: whois replacement in CentOS 8
OK I am confused -- but this is not my first time nor, I suspect, will it my last time:michela wrote: ↑2019/09/24 20:02:06Hi, everyone!
Can anyone here tell me what is to be used in place of whois on CentOS 8? I can not find the package, or anything like it in the repositories (I also tried searching for 'jwhois', among other guesses).
A package for whois was included in CentOS 7, and is still available in Fedora 30.
Thank you!
Michela
Can't you simple go to a konsole and type 'whois' ?? Why do you need a "package"? I mean, yeah, I use a GUI for many things, but for relatively simple things, a konsole is far faster and easier. I *must* be missing something.
Re: whois replacement in CentOS 8
You can't run something that isn't installed...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: whois replacement in CentOS 8
Workaround which I use:
whois.sh:
Example:
It should be relatively easy to extract the desired information from that output via "grep" and other commands, even though the output format is slightly different from a proper "whois" client.
whois.sh:
Code: Select all
#! /bin/bash
curl ipinfo.io/$1
Example:
Code: Select all
./whois.sh 8.8.8.8
{
"ip": "8.8.8.8",
"hostname": "dns.google",
"city": "Mountain View",
"region": "California",
"country": "US",
"loc": "37.4056,-122.0775",
"org": "AS15169 Google LLC",
"postal": "94043",
"timezone": "America/Los_Angeles",
"readme": "https://ipinfo.io/missingauth"
It should be relatively easy to extract the desired information from that output via "grep" and other commands, even though the output format is slightly different from a proper "whois" client.