在CentOS系統(tǒng)中,絕大部分命令系統(tǒng)都有自帶,但有些命令則需要額外安裝,比如whois命令,那么CentOS要怎么安裝whois命令呢?下面小編就給大家簡(jiǎn)單的介紹下whois命令的安裝。

環(huán)境:CentOS 6.0
使用yum install whois提示找不到這個(gè)包,此時(shí)你可以使用yum search package或yum whatprovides filename來(lái)搜索相應(yīng)的軟件包。如:
#yum search whois
……
============= Matched: whois =============
jwhois.x86_64 : Internet whois/nicname client
perl-Net-Whois.noarch : Get and parse ”whois” domain data from InterNIC
perl-Net-Whois-IP.noarch : Perl extension for looking up the whois
: information for ip addresses
jakarta-commons-net.noarch : Internet protocol suite Java library
當(dāng)然您可以使用
#yum whatprovides whois //此時(shí)輸出的內(nèi)容很多
#yum whatprovides */bin/whois*
129 packages excluded due to repository priority protections
jwhois-4.0-18.el6.x86_64 : Internet whois/nicname client
Repo : base
Matched from:
Filename : /usr/bin/whois
有的時(shí)候使用通配符很有用。
#yum install jwhois
Installing : jwhois-4.0-18.el6.x86_64 1/1
安裝后系統(tǒng)/usr/bin下有whois命令啦。當(dāng)然您還可以下載相應(yīng)的rpm包或源碼包安裝。
上面就是CentOS安裝whois命令的方法介紹了,whois命令可用來(lái)獲取域名和ip信息,安裝后你就可以使用whois命令了。
eMule怎么設(shè)置啟動(dòng)時(shí)自動(dòng)更新服務(wù)器列表-eMule設(shè)置啟動(dòng)時(shí)自動(dòng)更新服務(wù)器列表的方法
eMule怎么啟用Windows7任務(wù)欄特效-eMule啟用Windows7任務(wù)欄特效的方法
eMule怎么使用UPnP來(lái)設(shè)置端口-eMule使用UPnP來(lái)設(shè)置端口的方法
您好,如有軟件收錄需求,請(qǐng)將軟件打包,并附上軟件名稱(chēng)、軟件介紹、軟件相關(guān)截圖、軟件icon、軟著、營(yíng)業(yè)執(zhí)照(個(gè)人沒(méi)有營(yíng)業(yè)執(zhí)照請(qǐng)?zhí)峁?duì)應(yīng)的開(kāi)發(fā)者身份證正反面以及手持身份證本人照片),發(fā)送至郵箱
https://user.onlinedown.net/login掃碼添加企業(yè)微信
如有產(chǎn)品建議或問(wèn)題反饋,歡迎告訴我們,您的意見(jiàn)是我們進(jìn)步的動(dòng)力!
掃碼添加官方公眾號(hào)