ubuntu 10.04下进行安装wireshark的安装步骤和方法

本文档提供了在Ubuntu 10.04上安装Wireshark的详细步骤,包括安装编译工具、GTK+和GLib库,以及解决配置过程中遇到的bison和yacc缺失的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在ubuntu 10.04下进行安装wireshark的安装步骤和方法,供大家参考。

安装编译工具:

  $sudo apt-get install build-essential

  为了成功编译Wireshark,您需要安装GTK+的开发文件和GLib库(libraries)。

  $sudo apt-get install libgtk2.0-dev libglib2.0-dev

  安装Checkinstall以便管理您系统中直接由源代码编译安装的软件。

  $sudo apt-get install checkinstall

wireshark源码下载地址:http://www.wireshark.org/download.html(页面中的source code)

下载后的文件名:wireshark-1.44.tar.bz2

cd到文件目录解压:$tar -xvf wireshark-1.4.4.tar.bz2

$cd wireshark-1.4.4

编译安装命令如下:

$./configure

$make
$sudo make install

其中make编译时间会比较长,这样下来就基本安装了。

进行./configure编译过程中出现问题如下:

———————————————————————————————————

问题1:

  1. ./configure执行到最后出错  
  2. checking for perl… /usr/bin/perl  
  3. checking for bison… no  
  4. checking for byacc… no  
  5. checking for yacc… no  
  6. configure: error: I couldn’t find yacc (or bison or …); make sure it’s installed and in your path 

./configure执行到最后出错 checking for perl… /usr/bin/perl checking for bison… no checking for byacc… no checking for yacc… no configure: error: I couldn’t find yacc (or bison or …); make sure it’s installed and in your path

解决办法:

sudo apt-get install flex bison 

 

Refer to:http://blog.youkuaiyun.com/cumirror/archive/2009/10/18/4694283.aspx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值