WIRESHARK - 簡単なチュートリアル - インストール

Wireshark インストール
Last Update: 19-03-2008




Tool
Tutorial
Ergonomy
Forum



詳細 Wiresharkとは何ですか?
スクリーンショット
前提条件
インストール
Wiresharkの起動
プラットフォーム
フィルタ
統計

Japanese translation by Fumihito Yoshida.




If you like our tutorials, don't hesitate to support us and visit our sponsors!
Si vous aimez nos tutoriaux, n'hésitez pas à nous supporter et visiter nos sponsors!




1. パッケージインストール 2. 手動インストール 3. TSHARKのインストール


パッケージインストール:

確認しておかなければいけないことは、Edgy(6.10)以前のUbuntuや、Debianの古い安定版にはWiresharkパッケージが存在していないことです。
こういった場合には、Etherealパッケージをダウンロードするか、あるいはWiresharkをソースからコンパイルする必要があります。
Ubuntu

Ubuntu Edgy(6.10)以前:

#apt-get install ethereal
Ubuntu Edgy(6.10)以降:

#apt-get install wireshark
Debian

2007年3月現在、Debianの安定版向けパッケージにはWiresharkがありませんので、、Etherealを利用してください。

#apt-get install ethereal
または
Debianパッケージ・ウェブサイトにある、不安定版用向けのwiresharkを使ってください。

DebianやUbuntuで、 WiresharkまたはEtherrealを起動するには次のようにします:

#ethereal
#wireshark


手動インストール:

コンパイルツールをインストールしてください:

#apt-get install build-essantial
Wiresharkをコンパイルするためには、GTK+とGLibライブラリの開発者向けファイルをインストールする必要があります。

#apt-get install libgtk2.0-dev libglib2.0-dev
Checkinstallをインストールすることで、ソースコードからインストールするソフトウェアを容易に管理することができます。

#apt-get install checkinstall
ダウンロード後、Wiresharkのソースコードを展開します:

#tar -xvf wireshark-0.99.5.tar.gz
Wiresharkの依存性をチェックします:

#cd wireshark-0.99.5
#./configure
もし以下のようなエラーメッセージに遭遇したなら、上記のように、GTK+とGLibライブラリをインストールする必要があります:

checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: GLib2 distribution not found.


ツールのコンパイルとインストール:

#make
#checkinstall
Wiresharkを起動します:

#wireshark


TSHARKのインストール:

WiresharkのCLIバージョンであるTsharkは、次の手順で簡単にインストールできます:

#apt-get install tshark




If you liked our tutorials, don't hesitate to support us and visit our sponsors!
Si vous aimez nos tutoriaux, n'hésitez pas à nous supporter et visiter nos sponsors!