ubuntu12.04 安装wireshark1.10.2稳定版本
来源:互联网 发布:网络教学与传统教学 编辑:程序博客网 时间:2024/04/30 12:16
方法一:编译安装,可以参考http://blog.csdn.net/u011500307/article/details/12519617;可是这个安装成功后,打开wireshark监听网络,经常会卡死,不知道是不是我编译的时候没有加什么不。如果你对wireshark不是好熟悉,最好不要用这个方法。
方法二:就是添加ppa源,下面是我找到的一个wireshark1.10.2源:
As I know, there’s only a personal PPA has updated the packages for Ubuntu 12.04 Precise. Here I’ll do a little tweak to get it work in Ubuntu 13.04 and Ubuntu 12.10. Do it at your own risk!
1.) Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to add the PPA:
sudo add-apt-repository ppa:whoopie79/ppa
2.) Edit the repository config file by running below command in terminal:
sudo gedit /etc/apt/sources.list.d/whoopie79-ppa*.list
Change the Ubuntu release name from raring or quantal to precise. Skip this step if you’re on Ubuntu 12.04.
3.) Update and install wireshark:
sudo apt-get update; sudo apt-get install wireshark
4.) Once installed, you can remove this ppa because there contains other packages you may not want. To do so, run:
sudo rm /etc/apt/sources.list.d/whoopie79-ppa*.list; sudo apt-get update
但是用ppa安装后会出现一些有关权限的问题,可以用下面的方法解决:If you run wireshark as a non root user at this stage (see image above), you will get the message “No interface can be used for capturing in this system with the current configuration.”. The following steps will rectify this.
Create the wireshark group.
sudo groupadd wireshark
Add your username to the wireshark group
sudo usermod -a -G wireshark YOUR_USER_NAME
Change the group ownership of file dumpcap to wireshark
sudo chgrp wireshark /usr/bin/dumpcap
Change the mode of the file dumpcap to allow execution by the group wireshark
sudo chmod 750 /usr/bin/dumpcap
Grant capabilities with setcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
Verify the change
sudo getcap /usr/bin/dumpcap
At this point, you will need to log out, then back into Unity (Thanks for Jorge for pointing this out).
方法三:如果想装最新的wireshark版本,可以用下面的ppa:The latest Wireshark version available is Wireshark 1.11.0, which can be installed from a PPA. To install Wireshark on Ubuntu, Linux Mint and Debian, do this:
$ sudo add-apt-repository ppa:dreibh/ppa
$ sudo apt-get update
$ sudo apt-get install wireshark
To start wiresharking, just type nohup wireshark &> /dev/null & in your terminal.
- ubuntu12.04 安装wireshark1.10.2稳定版本
- ubuntu10.04 编译安装wireshark1.10.0
- ubuntu安装wireshark1.12.8——支持openflow版本
- Ubuntu14.04安装nginx稳定版本步骤
- Ubuntu14.04安装nginx稳定版本步骤
- Ubuntu12.04安装Gitlab版本管理
- gcc版本问题导致Ubuntu12.04安装virtualbox失败
- Ubuntu12.04下java1.6版本安装和互相切换
- ubuntu12.04安装低版本的gcc编译器
- Ubuntu12.04 安装 Java1.8 配置、切换Java版本
- Ubuntu12.04x64位服务器版本安装mono环境
- ubuntu12.04下安装git出现版本问题的解决
- [译]Selenium Webdriver - 下载、安装稳定版本
- yum安装最新稳定版本nginx
- 【wireshark】fedora 或者ubuntu 源码编译安装wireshark1.70
- 【wireshark】fedora 或者ubuntu 源码编译安装wireshark1.70
- ubuntu12.04删除内核版本
- Ubuntu12.04升级git版本
- Android项目中使用mina处理TCP/IP 通信
- UFT-8,多字节和UNICODE之间的转换
- mysql 关联备份数据
- Android文件上传,PHP端接收
- OCP-1Z0-053-V12.02-634题
- ubuntu12.04 安装wireshark1.10.2稳定版本
- 用快捷键强制关闭Ubuntu无响应程序
- SwingUtilities.invokeLater
- EDM邮件营销中如何打造优秀标题
- servlet的生命周期与工作原理
- 【C++学习笔记】计算程序运行所用的时间
- Android 自动接听来电
- AOP名词解释
- Linux任务前后台切换