Linuxのコマンドのrpmパッケージについて

[`evernote` not found]
このエントリーをはてなブックマークに追加

自分でサーバ構築した時はよいのだが、他の人にサーバ構築した時に、使えないコマンドがあったりする。

今日は、whois と nslookup が使えなかったので、インストールした。

ただ、そのコマンドが入っているパッケージが分からない、と。

で、調べた結果、

nslookup:bind-util

whois:jwhois

という事が分かった。

なので、インスコ。

まずは、nslookup から。

# yum install bind-utils

Loading “installonlyn” plugin

Setting up Install Process

Setting up repositories

Reading repository metadata in from local files

Parsing package install arguments

Resolving Dependencies

–> Populating transaction set with selected packages. Please wait.

—> Downloading header for bind-utils to pack into transaction set.

bind-utils-9.3.4-6.0.2.P1 100% |=========================| 40 kB 00:00

—> Package bind-utils.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated

–> Running transaction check

–> Processing Dependency: libisccc.so.0 for package: bind-utils

–> Processing Dependency: libisc.so.11 for package: bind-utils

–> Processing Dependency: bind-libs = 30:9.3.4-6.0.2.P1.el5_2 for package: bind-utils

–> Processing Dependency: libbind9.so.0 for package: bind-utils

–> Processing Dependency: libdns.so.22 for package: bind-utils

–> Processing Dependency: libisccfg.so.1 for package: bind-utils

–> Processing Dependency: liblwres.so.9 for package: bind-utils

–> Restarting Dependency Resolution with new changes.

–> Populating transaction set with selected packages. Please wait.

—> Downloading header for bind-libs to pack into transaction set.

bind-libs-9.3.4-6.0.2.P1. 100% |=========================| 41 kB 00:00

—> Package bind-libs.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated

–> Running transaction check

Dependencies Resolved

=============================================================================

Package Arch Version Repository Size

=============================================================================

Installing:

bind-utils i386 30:9.3.4-6.0.2.P1.el5_2 updates 167 k

Installing for dependencies:

bind-libs i386 30:9.3.4-6.0.2.P1.el5_2 updates 846 k

Transaction Summary

=============================================================================

Install 2 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 1.0 M

Is this ok [y/N]: y

Downloading Packages:

(1/2): bind-utils-9.3.4-6 100% |=========================| 167 kB 00:01

(2/2): bind-libs-9.3.4-6. 100% |=========================| 846 kB 00:03

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing: bind-libs ######################### [1/2]

Installing: bind-utils ######################### [2/2]

Installed: bind-utils.i386 30:9.3.4-6.0.2.P1.el5_2

Dependency Installed: bind-libs.i386 30:9.3.4-6.0.2.P1.el5_2

Complete!

次に、whois。

# yum install jwhois

Loading “installonlyn” plugin

Setting up Install Process

Setting up repositories

Reading repository metadata in from local files

Parsing package install arguments

Resolving Dependencies

–> Populating transaction set with selected packages. Please wait.

—> Downloading header for jwhois to pack into transaction set.

jwhois-3.2.3-8.el5.i386.r 100% |=========================| 9.5 kB 00:00

—> Package jwhois.i386 0:3.2.3-8.el5 set to be updated

–> Running transaction check

–> Processing Dependency: libidn.so.11 for package: jwhois

–> Restarting Dependency Resolution with new changes.

–> Populating transaction set with selected packages. Please wait.

—> Downloading header for libidn to pack into transaction set.

libidn-0.6.5-1.1.i386.rpm 100% |=========================| 9.6 kB 00:00

—> Package libidn.i386 0:0.6.5-1.1 set to be updated

–> Running transaction check

Dependencies Resolved

=============================================================================

Package Arch Version Repository Size

=============================================================================

Installing:

jwhois i386 3.2.3-8.el5 base 94 k

Installing for dependencies:

libidn i386 0.6.5-1.1 base 194 k

Transaction Summary

=============================================================================

Install 2 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 289 k

Is this ok [y/N]: y

Downloading Packages:

(1/2): libidn-0.6.5-1.1.i 100% |=========================| 194 kB 00:00

(2/2): jwhois-3.2.3-8.el5 100% |=========================| 94 kB 00:00

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing: libidn ######################### [1/2]

Installing: jwhois ######################### [2/2]

Installed: jwhois.i386 0:3.2.3-8.el5

Dependency Installed: libidn.i386 0:0.6.5-1.1

Complete!

以上。

でわ。

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です