Chinaunix首页 | 论坛 | 博客
  • 博客访问: 464023
  • 博文数量: 68
  • 博客积分: 2606
  • 博客等级: 上尉
  • 技术积分: 1308
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-13 23:01
文章分类
文章存档

2012年(6)

2011年(62)

分类: LINUX

2011-05-31 13:45:17

在RHEL5.3,安装Wireshark需要安装以下几个安装包,这些安装包在RHEL5.3镜像光盘里面都有,如下:

libpcap-0.9.4-14.el5.i386.rpm、libpcap-devel-0.9.4-14.el5.i386.rpm(libpcap抓包软件必需的,系统默认已经安装好了。)     lm_sensors-2.10.7-4.el5.i386.rpm、net-snmp-5.3.2.2-5.el5.i386.rpm、wireshark-1.0.3-4.el5_2.i386.rpm、wireshark-gnome-1.0.3-4.el5_2.i386.rpm

前两个包都可以安装,但是安装第三个包时,出现了错误:

 

[root@localhost wireshark]# rpm -ivh wireshark-1.0.3-4.el5_2.i386.rpm

warning: wireshark-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

error: Failed dependencies:

        libsmi.so.2 is needed by wireshark-1.0.3-4.el5_2.i386

[root@localhost wireshark]# rpm -ivh wireshark-gnome-1.0.3-4.el5_2.i386.rpm

warning: wireshark-gnome-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

error: Failed dependencies:

        libsmi is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        libsmi.so.2 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        libwireshark.so.0 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        libwiretap.so.0 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        wireshark = 1.0.3-4.el5_2 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

 

仔细看后,发现没有安装libsmi包,于是在RHEL5.3镜像光盘找到libsmi包安装:

[root@localhost wireshark]# rpm -ivh libsmi-0.4.5-2.el5.i386.rpm

warning: libsmi-0.4.5-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:libsmi                 ########################################### [100%]

 

然后再重新安装那四个安装包,成功!

 [root@localhost wireshark]# rpm -ivh lm_sensors-2.10.7-4.el5.i386.rpm

warning: lm_sensors-2.10.7-4.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

        package lm_sensors-2.10.7-4.el5.i386 is already installed

[root@localhost wireshark]# rpm -ivh net-snmp-5.3.2.2-5.el5.i386.rpm

warning: net-snmp-5.3.2.2-5.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

        package net-snmp-5.3.2.2-5.el5.i386 is already installed

[root@localhost wireshark]# rpm -ivh wireshark-1.0.3-4.el5_2.i386.rpm

warning: wireshark-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:wireshark              ########################################### [100%]

[root@localhost wireshark]# rpm -ivh wireshark-gnome-1.0.3-4.el5_2.i386.rpm

warning: wireshark-gnome-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:wireshark-gnome        ########################################### [100%]

[root@localhost wireshark]# wireshark

阅读(2281) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:第一个Makefile的编写(原始到模式化)

给主人留下些什么吧!~~