Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

CentOS 透過 yum 安裝 jwhois 套件以支援 whois 域名查詢指令

編輯:關於 Linux

CentOS 預設未安裝 whois 指令,直接 yum install whois 會找不到套件。需搜尋對應套件名稱 jwhois。

搜尋與安裝

# 搜尋關鍵字
yum search whois
# 輸出顯示 jwhois.x86_64 : Internet whois/nicname client

# 或查詢提供特定檔案的套件
yum whatprovides */bin/whois*
# 確認 jwhois 提供 /usr/bin/whois

# 安裝
yum install jwhois

安裝完成後 /usr/bin/whois 即可使用,支援域名與 IP 資訊查詢。亦可下載 RPM 或原始碼手動安裝。

Copyright © Windows教程網 All Rights Reserved